/* ====================
   Global Styles
   ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}
/* ====================
   Navigation Styles
   ==================== */

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Hamburger Icon styling */
.navbar-icon {
  position: absolute;
  top: 65px;
  right: 60px;
  width: 35px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 2200; /* above header */
}

/* Hamburger bars */
.navbar-icon span {
  display: block;
  height: 4px;
  width: 100%;
  background: #000000ff; /* initial color */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hover effect */
.navbar-icon:hover span {
  background: #2da9e0;
}

/* Transform hamburger to X when checked */
#menu-toggle:checked + .navbar-icon span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 6px);
  background: #ffffffff;
  height: 3px;
}
#menu-toggle:checked + .navbar-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .navbar-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(9px, -6px);
  background: #ffffffff;
  height: 3px;
}

/* Navbar Drawer styling */
.navbar-menu {
  position: fixed;
  top: 0;
  right: -500px; /* hidden off-screen */
  width: 500px;
  height: 100%;
  background: #2da9e0;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  padding: 80px 20px; /* leave space for top */
  z-index: 2100;
}

/* Menu links */
.navbar-menu ul {
  list-style: none;
  padding: 0;
  margin-top: 90px;
  margin-left: 30px;
}
.navbar-menu ul li {
  margin: 20px 0;
}
.navbar-menu ul li a {
  text-decoration: none;
  color: #ffffffff;
  font-weight: 400;
  display: block;
  transition: all 0.3s ease;
  font-family: 'Inter';
  font-size: 40px;
}
.navbar-menu ul li a:hover {
  transform: translateX(10px);
  color: #ffffffff;
}

/* Show drawer when checked */
#menu-toggle:checked ~ .navbar-menu {
  right: 0;
}

/* Sticky header */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  transition: background 0.3s ease;
}

/* Logo */
#logo {
  margin: 30px 0px 0px 30px;
  width: 200px;
  height: 64px;
  object-fit: contain;
}

/* Scroll effect */
.scrolled {
  background: #fff;
}
.scrolled .navbar-icon span {
  background: #000; /* black when scrolled */
}

/* Hamburger toggle body overflow */
body:has(#menu-toggle:checked) {
  overflow: hidden;
  height: 100vh;
}

/* Hero logo */
.hero-logo {
  margin: 0px;
  max-width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}



/* Portfolio section style */
.portfolio {
  position: relative;
  padding: 50px 20px;
  background: url("path.png") no-repeat center center;
  background-size: cover;
  
}

.hero-logo {
  margin: 50px 0px 0px 70px; /* center and add space below */
  max-width: 200px; /* adjust size as needed */
  height: auto;
  transition: transform 0.3s ease;
  position: sticky;
}

.subtitle {
  margin-top: 100px;
  font-size: 32px;
  color: #000000ff;
  margin-bottom: 20px;
  text-align: center;
    font-weight: 400;
}

.title {
  color: #000000ff;
  font-size: 48px;
  width:50%;
  font-weight: 600;
  line-height: 1.3;
  margin: 0px auto 100px;
  text-align: center;
}

/* letter animation */
.title.animated span {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  transform: translate(0, -100px) rotate(360deg) scale(0);
  animation:
    revolveDrop 0.15s forwards,
    letterColor 0.15s forwards;
  animation-delay: calc(0.04s * var(--i));
}

@keyframes revolveDrop {
  30% { transform: translate(0, -50px) rotate(180deg) scale(1); }
  60% { transform: translate(0, 20px)  rotate(0deg)   scale(.8); }
  100%{
    transform: translate(0) rotate(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes letterColor {
  0%, 80% { color: #2da9e0; }
  100%    { color: #000000; }
}

.floating-images {
  position: relative;
  width: 100%;
  height: 400px;
}

.item {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background:transparent;
}



.item img {
  display: block;       /* removes inline gap */
  width: 100%;
  height: 100%;
  object-fit: cover;    /* changed from fill to cover */
  border-radius: inherit; /* inherits the border radius from .item */
  background: transparent; /* just in case */
}


.text {
  position: absolute;
  background: #ffffffff;
  padding: 15px 20px;
  border-radius: 15px;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Positioning floating images and text labels */
.img1 { top: 140px; left: 100px; width: 50px; height: 50px; border-radius: 15px; }
.img2 { top: 10px; left: 180px; width: 70px; height: 70px; }
.img3 { top: 10px; left: 350px; width: 60px; height: 60px; }
.img4 { top: 50px; left: 650px; width: 90px; height: 90px; }
.img5 { top: -20px; left: 900px; width: 90px; height: 90px; z-index: -1; }
.img6 { top: 40px; left: 380px; width: 100px; height: 110px; z-index: -1; }
.img7 { top: -30px; left: 700px; width: 110px; height: 110px; z-index: -1; }
.img8 { top: 130px; left: 1150px; width: 70px; height: 70px; }
.img9 { top: 200px; left: 920px; width: 90px; height: 90px; }
.img10 { top: 180px; left: 470px; width: 60px; height: 60px; border-radius: 15px; }
.img11 { top: 30px; left: 960px; width: 60px; height: 60px; }
.img12 { top: 50px; left: 1250px; width: 50px; height: 50px; }

.text1 { top: 170px; left: 130px; z-index: -1; }
.text2 { top: -20px; left: 520px; z-index: -2; }
.text3 { top: 280px; left: 700px; z-index: -1; }

/* Responsive styles for hero and nav */

/* Large screens <= 1200px */
@media (max-width: 1200px) {
  .navbar-icon {
    top: 50px;
    right: 80px;
  }
  .navbar-menu {
    width: 400px;
  }
  .title {
    font-size: 42px;
    margin-bottom: 80px;
  }
  .subtitle {
    font-size: 16px;
  }
  .floating-images {
    height: 350px;
  }
  .item {
    transform: scale(0.9);
  }
  .img8{
    display:none;
  }
  .img11{
     display:none;
  }
  .img9{
    display:none;
  }
  .img12{
    display:none;
  }
}

/* Medium screens <= 992px */
@media (max-width: 992px) {
  .navbar-icon {
    top: 40px;
    right: 50px;
  }
  .navbar-menu {
    width: 350px;
    padding: 60px 20px;
  }
  .title {
    font-size: 36px;
  }
  .subtitle {
    font-size: 15px;
  }
  .floating-images {
    height: 320px;
  }
  .item {
    transform: scale(0.8);
  }
  
}

/* Tablets <= 768px */
@media (min-width:700px) and (max-width: 768px) {
  .navbar-icon {
    top: 30px;
    right: 30px;
  }
  .navbar-menu {
    width: 300px;
    padding: 50px 15px;
  }
  .navbar-menu ul li a {
    font-size: 28px;
  }
  .title {
    font-size: 28px;
    margin-bottom: 50px;
  }
  .subtitle {
    font-size: 14px;
  }
  .floating-images {
    height: 280px;
  }
  .item {
    transform: scale(0.7);
  }
   .img7{
    display:none;
  }
  .img5{
    display:none;
  }
  .text3{
    display:none;
  }

 

}

/* Mobile view <= 430px */
/* For mobile devices */
@media (max-width: 500px) {

   .navbar-icon{
    top:50px;
    right:30px;
  }
  .navbar-menu{
    width:100%;
    margin:0 auto;

  }
  .container{
    margin-top:140px;
  }
  #logo{
    margin:0px;
  }
  .navbar-icon{
    margin-right:0px;
    margin-top:-18px;
  }
  .navbar-menu ul{
    text-align:center;
     margin:0 auto;

  }
  .title{
    margin:0px auto 80px;
    width:90%;
  }
  .subtitle{
    font-size:18px;
  }
  .floating-images {
    position: relative;
    width: 100%;
    height: 400px;
  }

  .item {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: transparent;
  }

  .item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
  }

  .text {
    position: absolute;
    background: #fff;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  /* Positioning floating images and text labels (using vw for responsive scaling) */
  .img1  { top: 180px; left: 50px;  width: 12vw; height: 12vw; border-radius: 2vw; }
  .img2  { top: 90px;  left: 20px;  width: 16vw; height: 16vw; }
  .img3  { display:none; }
  .img4  { top: 40px;  left: 200px; width: 25vw; height: 25vw; }
  .img5  { display:none; }
  .img6  { display:none; }
  .img7  { top: -30px; left: 220px; width: 30vw; height: 30vw; z-index: -1; }
  .img8  { display:none!important; }
  .img9  { display:flex!important; top: 300px; left: 220px; width: 30vw; height: 30vw; border-radius: 4vw; }
  .img10 { top: 280px; left: 20px;  width: 20vw; height: 20vw; border-radius: 4vw; }
  .img11 { display:none; }
  .img12 { display:none; }

  .text1 { top: 200px; left: 90px; z-index: -1; font-size: 3.5vw; }
  .text2 { top: -15px;  left: 80px; z-index: -1; font-size: 3.5vw; }
  .text3 { top: 410px; left: 100px; z-index: 1; font-size: 3.5vw; }
}


/* ====================
   Portfolio Items Container
   ==================== */
.portfolio-items-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0 auto;
    z-index: 2;
}
/* Portfolio Items */
.portfolio-item {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.item-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    white-space: nowrap;
    z-index: 3;
}
/* Scattered Positions */
.item-1 { top: 50px; left: 100px; }
.item-2 { top: 80px; right: 150px; }
.item-3 { top: 200px; left: 50px; }
.item-4 { bottom: 180px; right: 80px; }
.item-5 { bottom: 80px; left: 120px; }
.item-6 { bottom: 50px; right: 200px; }
.item-7 { top: 150px; right: 250px; }
.item-8 { bottom: 150px; left: 200px; }




/* ========== HEADER ANIMATIONS ========== */
.float-anim {
  animation: floatSlow 0.6s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.popup-anim {
  animation: popIn 0.5s ease-out forwards;
  opacity: 0;
  transform: scale(0.9);
}

.popup-anim:nth-of-type(1) { animation-delay: 0.1s; }
.popup-anim:nth-of-type(2) { animation-delay: 0.2s; }
.popup-anim:nth-of-type(3) { animation-delay: 0.3s; }

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.9) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ========== FORM SECTION ANIMATIONS ========== */
.glow-anim {
  position: relative;
  transition: all 0.3s ease-out;
}

.glow-anim:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255,255,255,0.4);
}

.field-popup {
  transition: all 0.3s ease-out;
  transform: translateY(5px);
  opacity: 0.95;
}

.field-popup:nth-of-type(1) { transition-delay: 0.1s; }
.field-popup:nth-of-type(2) { transition-delay: 0.15s; }
.field-popup:nth-of-type(3) { transition-delay: 0.2s; }
.field-popup:nth-of-type(4) { transition-delay: 0.25s; }

.field-popup:focus,
.field-popup:hover {
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* ========== ENHANCED FOOTER ANIMATIONS ========== */
.footer-anim {
  opacity: 0;
  transform: translateY(15px);
  animation: footerSlide 1s ease-out 0.2s forwards;
}

@keyframes footerSlide {
  to { opacity: 1; transform: translateY(0); }
}

.fade-line {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeSlide 0.8s ease-out forwards;
}

.fade-line:nth-of-type(1) { animation-delay: 0.4s; }
.fade-line:nth-of-type(2) { animation-delay: 0.5s; }
.fade-line:nth-of-type(3) { animation-delay: 0.6s; }

@keyframes fadeSlide {
  to { opacity: 1; transform: translateY(0); }
}

.h5-anim {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideRight 0.7s ease-out forwards;
}

.h5-anim:nth-of-type(1) { animation-delay: 0.8s; }
.h5-anim:nth-of-type(2) { animation-delay: 0.9s; }

@keyframes slideRight {
  to { opacity: 1; transform: translateX(0); }
}

.fade-text,
.addr-title,
.copy-text {
  opacity: 0;
  transform: translateY(8px);
  animation: textFadeUp 0.6s ease-out forwards;
}

.menu-item {
  opacity: 0;
  transform: translateX(-15px);
  animation: menuSlide 0.5s ease-out forwards;
}

.menu-item:nth-child(1) { animation-delay: 1s; }
.menu-item:nth-child(2) { animation-delay: 1.05s; }
.menu-item:nth-child(3) { animation-delay: 1.1s; }
.menu-item:nth-child(4) { animation-delay: 1.15s; }
.menu-item:nth-child(5) { animation-delay: 1.2s; }

@keyframes menuSlide {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes textFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.addr-text {
  opacity: 0;
  animation: addrFade 0.8s ease-out forwards;
}

.office-address1 .addr-text { animation-delay: 1.1s; }
.office-address2 .addr-text { animation-delay: 1.3s; }
.copyright .copy-text { animation-delay: 1.5s; }

@keyframes addrFade {
  to { opacity: 1; }
}

.icon-popup {
  transform: scale(0.95);
  opacity: 0.9;
  transition: all 0.4s ease-out;
}

.icon-popup:nth-child(1) { transition-delay: 1.6s; }
.icon-popup:nth-child(2) { transition-delay: 1.7s; }
.icon-popup:nth-child(3) { transition-delay: 1.8s; }

.icon-popup:hover {
  transform: scale(1.15);
  opacity: 1;
}

.icon-popup i {
  transition: all 0.3s ease-out;
}

.icon-popup:hover i {
  transform: scale(1.2);
}
/* ========== HERO FLOATING ANIMATIONS ========== */
.float-hero {
  animation: floatContinuous 6s ease-in-out infinite;
  transition: transform 0.3s ease-out;
}

.float-hero:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.05);
}

@keyframes floatContinuous {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ========== MENU UNDERLINE ANIMATION ========== */
.navbar-menu ul li a.menu-link {
  position: relative;
  display: inline-block;
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.4s ease-out;
}

.menu-link:hover::after {
  width: 100%;
}

/* ========== FOOTER ICON POPUP ========== */
.icon-hover {
  transition: all 0.3s ease-out;
  transform: scale(1);
}

.icon-hover:hover {
  transform: scale(1.15) translateY(-3px);
}

.icon-hover i {
  transition: all 0.3s ease-out;
}

.icon-hover:hover i {
  transform: scale(1.1);
}

/* ========== LOCATION TEXTS FLOAT ========== */
.float-location {
  transition: all 0.4s ease-out;
}

.float-location:hover {
  transform: translateY(-4px);
}

/* ========== FOOTER LINKS (minimal hover) ========== */
.footer-link {
  position: relative;
  transition: color 0.3s ease-out;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.6);
  transition: width 0.3s ease-out;
}

.footer-link:hover::after {
  width: 70%;
}

.footer-link:hover {
  color: #fff;
}


/* ====================
   Projects Section
   ==================== */
.projects-section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #333;
}

.project-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position:relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

/* Lift effect on hover */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 40px rgba(0,0,0,0.15);
}

/* Zoom image */
.project-card:hover img {
    transform: scale(1.1);
}

/* FLIP EFFECT CONTAINER */
.project-image-1, 
.project-image-2, 
.project-image-3,
.project-image-4, 
.project-image-5, 
.project-image-6 {
    height: 250px;
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 10px 2px rgba(50, 50, 50, 0.25);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;  /* smooth flip */
    margin-bottom: 25px;
}

/* FLIP ON HOVER */
.project-card:hover .project-image-1,
.project-card:hover .project-image-2,
.project-card:hover .project-image-3,
.project-card:hover .project-image-4,
.project-card:hover .project-image-5,
.project-card:hover .project-image-6 {
    transform: rotateY(180deg); /* main flip */
}

/* Background variations */
.project-image-1 { background: linear-gradient(45deg, #007bff, #ffc107); }
.project-image-2 { background: #ff4444; }
.project-image-3 { background: #f8f9fa; }
.project-image-4 { background: linear-gradient(135deg, #333 0%, #ff6b6b 100%); }
.project-image-5 { background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1); }
.project-image-6 { background: #f8f9fa; }

/* FRONT & BACK shared styles */
.project-image-1 .front, 
.project-image-2 .front, 
.project-image-3 .front,
.project-image-4 .front, 
.project-image-5 .front, 
.project-image-6 .front,
.project-image-1 .back, 
.project-image-2 .back, 
.project-image-3 .back,
.project-image-4 .back, 
.project-image-5 .back, 
.project-image-6 .back {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;  /* IMPORTANT */
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: aliceblue;
    font-weight: bold;
}

/* BACK SIDE */
.project-image-1 .back, 
.project-image-2 .back, 
.project-image-3 .back,
.project-image-4 .back, 
.project-image-5 .back, 
.project-image-6 .back {
    background: linear-gradient(-135deg, #F80A4A, #0AA4F8);
    transform: rotateY(180deg);  /* aligns for flip */
}

/* Image inside front */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Project Card Elements */
.project-design-element,
.about-card,
.card-mockup,
.isaiah-card,
.color-palette,
.book-design {
    z-index: 2;
}
.back-heading, .front-heading {
    font-size: 28px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
}
/* ====================
   Project Elements & Decor
   ==================== */
.design-box {
    background: white;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-weight: 700;
}
.design-box.blue { background: #007bff; color: white; }
.design-box.yellow { background: #ffc107; color: #333; }

.about-text {
    background: #333;
    color: white;
    padding: 0.9375rem;
    border-radius: 5px;
    font-weight: 700;
}
.learn-more {
    font-size: 0.875rem;
    color: #666;
}
.mockup-image {
    width: 150px;
    height: 100px;
    background: #eee;
    border-radius: 5px;
}
.mockup-line-1 {
    width: 120px;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
}
.mockup-line-2 {
    width: 100px;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
}
.blue-dot {
    top: -10px;
    right: -10px;
    background: #007bff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.isaiah-title {
    color: #333;
    font-size: 1.25rem;
    font-weight: 700;
}
.gradient-box {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #ff9a9a, #ffd93d);
    border-radius: 8px;
}

.color-box {
    width: 60px;
    height: 40px;
    border-radius: 5px;
}
.color-box.red { background: #ff6b6b; }
.color-box.teal { background: #4ecdc4; }
.palette-line {
    width: 100px;
    height: 12px;
    background: #eee;
    border-radius: 6px;
}

.book-label {
    top: -8px;
    left: -8px;
    background: #333;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
}
.book-text-1, .book-text-2 {
    background: white;
    padding: 0.9375rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    color: #333;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}




/* =========cta section========= */

/* cta section */
.cta-section {

  font-family: 'Inter';
  margin: 40px 80px;
  background: #2da9e0;
  padding: 40px 30px 40px 30px;
  color: #fff;
  border-radius: 20px;
  height: auto; /* desktop height */
}

.cta-heading {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 15px 0;
  margin-top:30px;
}

.cta-text {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 0;
  width:90%;
}

/* Inputs */
.form-control {
  margin-top: 20px;
  width: 100%;
  height: 60px;
  border-radius: 10px;
  border: none;
  margin-bottom: 0px;
  padding: 15px 20px;
  font-size: 16px;
  color: #333;
  font-weight:500;
}

.form-control::placeholder {
  color: #2da9e0;
  font-weight: 400;
}

/* Contact Button */
.btn-submit {
  background: white;
  width: fit-content;     /* button becomes small */
  padding: 12px 28px;     /* clean button size */
  color: #2da9e0;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  text-align: center;
  margin-left: auto;       /* pushes button to the RIGHT */
  margin-top: 25px;
  transition: all 0.3s ease;
  font-size: 18px;
}

.btn-submit:hover {
  background: #f5f5f5;
  color: #2298cf;
}


.error {
    color: rgb(255, 255, 255);
    font-size: 0.85rem;
    display: block;
    margin-top: 4px;
        }
.form-control.invalid {
    border: 2px solid red;
        }
.form-control.valid {
    border: 2px solid rgb(10, 233, 10);
            }

/* ================== CTA RESPONSIVENESS ================== */

/* Large screens down (<=1200px) */
@media (max-width: 1200px) {
  .cta-section {
    margin: 30px 50px;
    padding: 50px 40px 20px 25px;
    height: auto; /* let it grow naturally */
  }

  .cta-heading {
    font-size: 40px;
  }

  .cta-text {
    font-size: 17px;
  }
}

/* Medium screens (<=992px) */
@media (max-width: 992px) {
  .cta-section {
    margin: 25px 40px;
    padding: 40px 30px 20px 20px;
    height: auto;
  }

  .cta-heading {
    font-size: 34px;
    line-height: 1.3;
  }

  .cta-text {
    font-size: 16px;
  }

  .btn-contact {
    margin-top: 40px;
    width: 160px;
    font-size: 15px;
  }
}

/* Tablets (<=768px) */
@media (max-width: 768px) {
  .cta-section {
    margin: 20px;
    padding: 35px 25px 20px 25px;
    border-radius: 12px;
    text-align: center;
  }

  .cta-heading {
    font-size: 28px;
  }

  .cta-text {
    font-size: 15px;
  }

  .form-control {
    height: 55px;
    font-size: 15px;
  }

  .btn-submit {
    width: 50%;
    margin: 25px auto 0;  /* center on mobile */
    font-size: 16px;
  }
}


/* Small mobiles (<=430px) */
@media (max-width: 500px) {
  .cta-section {
    width:95%;
    margin: 0 auto ;
    height: auto; /* Let content decide height */
    padding: 20px;
  }

  .cta-heading {
    font-size: 35px;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align:left;
  }


  .cta-text {
    width:100%;
    text-align:left;
    font-size: 13px;
    margin-bottom: 20px;
  }

  /* Show only mobile button */
  .btn-submit {
    width: 50%;
    font-size: 15px;
    float:right;
  }
}



/* ========================== FOOTER ================= ===== */

/* ===== Premium gradient using existing blue palette ===== */
.custom-footer {
  background: linear-gradient(
    135deg,
    #050508 0%,          /* deep near-black */
    #00172a 25%,         /* dark blue-black */
    
    #4AB3FF 65%,         /* electric blue accent */
    #3b1a5a 80%,         /* dark purple-blue */
    #A06CFF 100%         /* neon purple edge */
  );
  color: #fff;
  position: relative;
  padding: 80px 0 0px;
  overflow: hidden;
  margin:40px 0 0 0;
}

/* Shifted columns - 2 tab spaces right (approx 32px) */
.shifted-col {
  margin-left: 112px;
}
/* Move ONLY 2nd column 1 tab space more right */
.footer-col:nth-child(2) .shifted-col {
  margin-left: 160px;  /* 32px (current) + 16px (1 tab) = 48px */
}


/* Menu title styling - matches footer text style */
.footer-menu-title {
  font-size: 18px;
  margin-bottom:30px;
  color: #ffffffcc;
  font-weight: 500;
}

/* Layout */
.footer-main-row {
  align-items: flex-start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  max-width: 100px;
  height: auto;
}

.footer-text {
  max-width: 260px;
  font-weight: 500;
  color: #ffffffcc;
  line-height: 1.7;
  margin-top:30px;
  font-size:18px;
}

/* Social buttons */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.socials {
  margin-top:40px;
  margin-left:70px;
  display: flex;
  align-items: center;
  gap: 18px;
  
}

.socials li {
  list-style: none;
}
.socials li a {
  width: 58px;
  height: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  box-shadow:
    0 6px 14px rgba(0,0,0,0.6),
    inset 0 3px 6px rgba(255,255,255,0.18),
    inset 0 -4px 10px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

/* Top shine */
.socials li a::before {
  content: "";
  position: absolute;
  top: -20px;
  width: 100%;
  height: 60%;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  filter: blur(8px);
}

/* Icon size */
.socials li a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Hover effect */
.socials li a:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    0 10px 18px rgba(0,0,0,0.75),
    0 0 14px rgba(0,150,255,0.6);
}



/* Center menu */
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px;
}

.footer-link {
  font-size: 18px;
  font-weight: 400;
  color: #ffffffcc;
  text-decoration: none;
  position: relative;
}

/* Right address */
.footer-address h5 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-address p {
  margin: 0;
  color: #ffffffcc;
  line-height: 1.6;
  font-size:18px;
}

.footer-bottom {
  margin-top: 120px !important;
  text-align: center;
}

/* STUDIO-style text */
.footer-bottom span {
  font-family: 'Anton', sans-serif;
  font-size: clamp(110.5px, 5vw, 120px);
  
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
   line-height: 0;

  /* Gradient INSIDE the text */
  background: linear-gradient(
    to right,
    #050508 0%,          /* deep near-black */
    #095592ff 25%,         /* dark blue-black */
    
    #095592ff 65%,         /* electric blue accent */
    #3b1a5a 80%,         /* dark purple-blue */
    #A06CFF 100%    
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* Slight horizontal stretch like STUDIO */
  transform: scaleX(1.05);

  /* Animation */
  opacity: 0;
  transform: translateY(30px) scaleX(1.05);
  animation: premiumReveal 1.2s ease forwards;
}



@keyframes premiumReveal {
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}


/* ===== Hover-only animations ===== */
.hover-pop {
  transition: transform 0.3s ease;
}

.hover-pop:hover {
  transform: translateY(-2px) scale(1.05);
}

/* Underline left-to-right on hover */
.underline-anim {
  position: relative;
}

.underline-anim::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: #ffffffcc;
  transition: width 0.3s ease;
}

.underline-anim:hover::after {
  width: 100%;
}

.underline-animate{
  position: relative;
}

.underline-animate::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: #ffffffcc;
  transition: width 0.3s ease;
}

.underline-animate:hover::after{
  width:50%;
}

@media (max-width: 1200px){
  .footer-bottom span{  
    font-size:74px;
    line-height:1;
  }
} 


/* ===== Responsiveness: follow existing breakpoints ===== */
@media (max-width: 992px) {
  .footer-logo {
    max-width: 140px;
  }
  .footer-text {
    max-width: 220px;
  }
  .footer-menu {
    margin-top: 20px;
  }
  
}

@media (max-width: 768px) {
  .custom-footer {
    text-align: left;
    padding: 50px 20px 40px;
    padding-bottom:0px;
  }
  .footer-main-row {
    row-gap: 32px;
  }
  .shifted-col {
    margin-left: 0;
  }
  
  .socials{
    margin-left:0px;
    padding:0PX;
  }
  .footer-bottom{
    margin-top:40px !important;
  }
  .footer-bottom span{  
    font-size:54px;
    line-height:1;
  }
  
}

@media (max-width: 500px) {
  .custom-footer{
    margin:40px 0 0 0;
    padding-bottom:0px;
  }
  .footer-text {
    max-width: 100%;
  }
  .footer-menu {
    align-items: flex-start;
  }
  
  .shifted-col{
    margin:0px !important;
  }
  .footer-bottom span{
    margin-left:-30px;
    font-size:66px;
    line-height:1;
  }
}