/* Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fixed Header/Nav Bar */
.fixed-header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 1440px;
  transform: translateX(-50%);
  height: 70px;
  z-index: 9999;
  background: rgba(17, 17, 17, 0.9);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
  box-sizing: border-box;
}
body {
  background: linear-gradient(135deg, #0f2027, #031014, #1a3846);
  color: white;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
}
.fixed-header.scrolled {
  backdrop-filter: blur(25px);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: black;
}






/* Logo */
.logo {
  font-size: 24px;
  font-weight: bold;
}

.logo span {
  color: yellow;
}

/* Navigation Links */
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: flex-start;
}

nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: rgb(172, 172, 65);
}

/* Login Button */
.login-btn {
  background: rgb(65, 65, 13);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.login-btn:hover {
  background: #e6d500;
}




/* Base nav styles */
.fixed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.8);
}

nav {
  display: flex;
  gap: 300px;
}

/* Hamburger icon hidden on desktop */
.menu-toggle {
  display: none;
  font-size: 22px;
  color: white;
  cursor: pointer;
}







/* Hero Section */
.hero-section {
  position: relative;
  height: 60vh;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 80px; /* header fixed, so space on top */
  margin-bottom: 100px;
}

.hero-video {
  width: 1440px;
  height: 100%;
  object-fit: cover;
  display: block;
}








/* Hero Overlay */
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}


 #name-text {
    font-size: 60px;  
    font-weight: bold;
    font-family: Arial, sans-serif;
    color: #f8dbdb;
  }
/* h4 gradient text */
.hero-overlay h4 {
  font-size: 20px;
  font-weight: 500;
  background: linear-gradient(90deg, #a855f7, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  height: 24px; /* fix jump */
}



/* Portfolio Section */

.profile-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0%;
  flex-wrap: wrap;

 
}

.profile-content {
  flex: 0 0 600px;
  max-width: 600px;
  text-align: left;
}

.social-links a {
  color: white;
  margin-right: 15px;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}
.social-links a:hover {
  color: #a855f7;
}

.profile-content h1 {
  font-size: 2.5rem;
  margin: 20px 0;
}
.profile-content h1 span {
  font-weight: bold;
}

.profile-content p {
  color: #d1d1d1;
  max-width: 500px;
  line-height: 1.6;
}

.buttons {
  margin-top: 20px;
}

.btn-primary {
  background: linear-gradient(to right, #155a6669, #3b82f6);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  margin-right: 15px;
  display: inline-block;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  opacity: 0.8;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.btn-outline:hover {
  background: white;
  color: black;
}

.profile-image {
  margin-left: auto;
  max-width: 350px;
  position: relative;
  display: inline-block;
}

.image-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: linear-gradient(45deg, #a855f7, #3b82f6, #06b6d4, #f43f5e);
  background-size: 300% 300%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(40px);
  transition: background-position 0.2s ease;
}

.profile-image img {
  position: relative;
  z-index: 1;
  max-width: 350px;
}
 /* <!-- About Section --> */



.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 60px 1%;
    flex-wrap: wrap;
}

.about-img {
    flex: 1;
    text-align: left;
    margin: 0;
}

.about-img img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    border: 2px solid #164ec765;
    box-shadow: 0px 0px 20px rgba(38, 31, 143, 0.589);
}

.about-content {
    flex: 1;
    max-width: 500px;
}

.about-content h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

.about-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #223a5a;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #7a00ff;
}

.btn-outline {
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    background: transparent;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: white;
    color: #141021;
}


          /* Contact Us */



 .contact-section {
    display: flex;
    max-width: 1440px;
    margin: 50px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Left Side */
.contact-info {
    background: #0a0821;
    color: white;
    flex: 1;
    padding: 40px;
}

.logo {
    color: #d4ff3d;
    font-size: 26px;
    margin-bottom: 20px;
}

.info-box {
    margin-bottom: 25px;
}

.info-box h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-box p {
    font-size: 14px;
    color: #b5b5b5;
}

.info-box strong {
    display: block;
    margin-top: 5px;
    font-size: 15px;
}

.social {
    margin-top: 30px;
}

.social a {
    color: white;
    margin-right: 15px;
    font-size: 20px;
    text-decoration: none;
}

/* Right Side */
.contact-form {
    background: #c2c3ce;
    flex: 1;
    padding: 40px;
}

.contact-form h2 {
    font-size: 24px;
    color: #0a0821;
    margin-bottom: 10px;
}

.contact-form p {
    margin-bottom: 20px;
    color: #0a0821;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-bottom: 2px solid #0a0821;
    outline: none;
    font-size: 16px;
    background: transparent;
}

textarea {
    height: 80px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    color: #0a0821;
}

button {
    width: 100%;
    background: #0a0821;
    color: white;
    padding: 12px;
    border: none;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background: #1a1835;
} */




/* Project Section */
.projects-wrap{
  max-width:1440px;
  margin:50px auto;
  padding:0 20px;
  text-align:center;  /* Title এবং tabs centered */
  color:#fff;
}

.section-title{
  font-size:32px;
  margin-bottom:30px;
  text-align: center; /* Title centered */
}

/* Tabs */
.project-tabs{
  display: flex;           /* inline-flex -> flex */
  justify-content: center; /* center the tabs */
  gap:10px;
  margin-bottom:30px;
}

.tab{
  padding:10px 16px;
  background:rgba(255,255,255,0.1);
  border:none;
  border-radius:50px;
  font-weight:600;
  color:#cfe7ff;
  cursor:pointer;
  transition:all 0.3s;
}

.tab.active{ 
  background:#00d9ff; 
  color:#05121a; 
}

/* Panels */
.panel{ display:none; }
.panel.show{ display:block; }

/* Grid */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

@media(max-width:1024px){ .grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:600px){ .grid{grid-template-columns:1fr;} }

/* Card */
.card{
  display:block;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,0.3);
  transition:transform 0.3s, box-shadow 0.3s;
}

.card img{
  width:100%;
  display:block;
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:0 12px 25px rgba(0,0,0,0.4);
}









/* Footer Section */
.site-footer {
  background: #0a0a0a;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-about h3 {
  font-size: 22px;
  color: #fff;
}
.footer-about h3 span {
  color: #00e1ff;
}
.footer-about p {
  font-size: 14px;
  color: #ccc;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  margin-bottom: 15px;
  color: #00e1ff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 8px;
}
.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links ul li a:hover {
  color: #00e1ff;
}

.footer-contact p {
  margin: 5px 0;
  font-size: 14px;
  color: #ccc;
}
.footer-contact i {
  margin-right: 8px;
  color: #00e1ff;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
  color: #ccc;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #00e1ff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #222;
  margin-top: 30px;
}
.footer-bottom p {
  font-size: 13px;
  color: #aaa;
}

/* ======= RESPONSIVE DESIGN ======= */

/* Large Devices (1200px এর নিচে) */
@media (max-width: 1200px) {
  .fixed-header {
    width: 100%;
    left: 0;
    transform: none;
  }
  .hero-video {
    width: 100%;
  }
}

/* Medium Devices (1024px এর নিচে) */
@media (max-width: 1024px) {
  nav {
    gap: 50px;
  }
  .profile-section,
  .about-section,
  .contact-section {
    flex-direction: column;
    text-align: center;
  }
  .profile-content,
  .about-content,
  .contact-info,
  .contact-form {
    max-width: 100%;
    text-align: center;
  }
  .profile-image {
    margin: 30px auto 0;
  }
}

/* Tablet Devices (768px এর নিচে) */
@media (max-width: 768px) {
  .fixed-header {
    padding: 10px;
  }
  nav {
    display: none; /* Default navigation hidden */
  }
  .menu-toggle {
    display: block; /* Hamburger menu show */
  }
  .hero-section {
    height: 50vh;
  }
  .profile-content h1 {
    font-size: 2rem;
  }
  .about-section {
    gap: 20px;
  }
  .contact-section {
    flex-direction: column;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices (600px এর নিচে) */
@media (max-width: 600px) {
  .hero-section {
    height: 40vh;
    margin-bottom: 50px;
  }
  #name-text {
    font-size: 36px;
  }
  .hero-overlay h4 {
    font-size: 16px;
  }
  .profile-content h1 {
    font-size: 1.8rem;
  }
  .profile-content p {
    font-size: 14px;
  }
  .btn-primary,
  .btn-outline {
    font-size: 13px;
    padding: 8px 15px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons a {
    font-size: 20px;
  }
}

/* Extra Small Devices (400px এর নিচে) */
@media (max-width: 400px) {
  .fixed-header {
    height: 60px;
  }
  .logo {
    font-size: 20px;
  }
  #name-text {
    font-size: 28px;
  }
  .btn-primary,
  .btn-outline {
    font-size: 12px;
    padding: 6px 12px;
  }
}






@media (max-width: 768px) {
  #nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 8px 0 0 8px;
    padding: 20px;
  }

  #nav-menu.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  #nav-menu .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  #nav-menu .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
  }

  #nav-menu .nav-links a:hover {
    color: #00ffcc;
    padding-left: 10px;
  }

  .nav-right {
    margin-top: 20px;
    width: 100%;
  }

  .login-btn {
    width: 100%;
    padding: 10px;
    background: #00ffcc;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
  }
}



