/* =========================
   GLOBAL RESET
========================= */
html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f5f5f5;
}

/* =========================
   NAVBAR
========================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  background: #fff;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* LOGO */
.logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* NAV LINKS */
nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  color: #e15e00;
  font-size: 20px;
  transition: 0.3s ease;
}

nav ul li a:hover {
  color: rgb(4, 1, 158);
}

nav ul li a.active {
  color: #ffab0f;
}

/* =========================
   HAMBURGER MENU
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #333;
  transition: 0.4s ease;
}

/* ACTIVE STATE */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* HERO SECTION */
/* =========================
   HERO SECTION
========================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(to right, #020617, #02124a);
  display: flex;
  align-items: center;
  padding: 0 8%;
  position: relative;
  overflow: hidden;
}

/* CONTENT */
.hero-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  z-index: 2;
}

/* LEFT */
.hero-left {
  color: #fff;
  max-width: 650px;
}

/* TITLE */
.hero-title {
  display: flex;
  flex-direction: column;
  font-size: 110px;
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 30px;
  overflow: hidden;
}

.hero-title span {
  display: block;
  opacity: 0;
  transform: translateY(120px);
  animation: titleReveal 1s ease forwards;
}

.hero-title span:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   TYPING TEXT
========================= */
.typing-text {
  font-size: 42px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  border-right: 4px solid #00cfff;
  margin-bottom: 40px;
  animation: typing 3s steps(22, end) forwards 1s,
             cursor 0.8s infinite;
}

.typing-text span {
  color: #00cfff;
}

@keyframes typing {
  to { width: 100%; }
}

@keyframes cursor {
  50% { border-color: transparent; }
}

/* =========================
   BUTTON
========================= */
.know-btn {
  padding: 18px 42px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #ff6b57, #ff4d8d);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 99, 71, 0.35);
  transition: 0.4s ease;
  animation: buttonReveal 1s ease forwards 2.5s;
  opacity: 0;
  transform: translateY(40px);
}

@keyframes buttonReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.know-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 99, 71, 0.6);
}

/* =========================
   RIGHT SIDE
========================= */
.hero-right {
  position: relative;
  width: 950px;
  height: 850px;
  overflow: hidden;
}

/* LAPTOP */
.laptop {
  width: 100%;
  position: absolute;
  bottom: 0;
  right: -40px;
  z-index: 2;
  filter: drop-shadow(0 0 20px #2563eb)
          drop-shadow(0 0 60px #1d4ed8);
  animation: laptopIntro 2s ease, laptopFloat 5s ease-in-out infinite 2s;
}

/* LAPTOP ANIMATIONS */
@keyframes laptopIntro {
  0% {
    opacity: 0;
    transform: translateY(180px) scale(0.6) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-20px) scale(1.05) rotate(2deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes laptopFloat {
  50% {
    transform: translateY(-18px);
  }
}

/* =========================
   FLOATING CARDS (OPTIMIZED)
========================= */
.float-card {
  position: absolute;
  z-index: 5;
  opacity: 0;
  transform: scale(0.2);
}

/* HTML */
.html-card {
  top: 180px;
  right: 250px;
  width: 120px;
  animation: htmlEntry 0.7s ease forwards 0.8s,
             floatAnim 5s ease-in-out infinite 1.5s;
}

/* CSS */
.css-card {
  top: 300px;
  right: 420px;
  width: 95px;
  animation: cssEntry 0.7s ease forwards 1s,
             floatAnim 6s ease-in-out infinite 1.7s;
}

/* JS */
.js-card {
  bottom: 250px;
  right: 450px;
  width: 90px;
  animation: jsEntry 0.7s ease forwards 1.2s,
             floatAnim 5.5s ease-in-out infinite 1.9s;
}

/* UI */
.ui-card {
  bottom: 120px;
  right: 260px;
  width: 170px;
  animation: uiEntry 0.7s ease forwards 1.4s,
             floatAnim 7s ease-in-out infinite 2.1s;
}

/* ENTRY ANIMATIONS */
@keyframes htmlEntry {
  from { transform: translate(120px,120px) scale(0.2); opacity: 0; }
  to { transform: translate(0,0) scale(1); opacity: 1; }
}

@keyframes cssEntry {
  from { transform: translate(140px,80px) scale(0.2); opacity: 0; }
  to { transform: translate(0,0) scale(1); opacity: 1; }
}

@keyframes jsEntry {
  from { transform: translate(160px,-40px) scale(0.2); opacity: 0; }
  to { transform: translate(0,0) scale(1); opacity: 1; }
}

@keyframes uiEntry {
  from { transform: translate(100px,-100px) scale(0.2); opacity: 0; }
  to { transform: translate(0,0) scale(1); opacity: 1; }
}

/* COMMON FLOAT */
@keyframes floatAnim {
  50% {
    transform: translateY(-20px);
  }
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }

  .hero-title {
    font-size: 60px;
  }

  .typing-text {
    font-size: 24px;
  }

  .know-btn {
    padding: 14px 32px;
    font-size: 16px;
  }

  .hero-right {
    width: 100%;
    height: 500px;
  }

  .html-card { width: 80px; }
  .css-card { width: 70px; }
  .js-card { width: 70px; }
  .ui-card { width: 100px; }
}

/* about section*/
/* =========================
   ABOUT SECTION
========================= */
.about {
  padding: 100px 0;
  background: url("about.png") center/cover no-repeat;
}

/* CONTAINER */
.about-container {
  width: 85%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* =========================
   IMAGE SIDE
========================= */
.about-image {
  position: relative;
  width: 45%;
}

/* IMAGE */
.about-image img {
  width: 100%;
  border-radius: 5px;
  position: relative;
  z-index: 2;

  opacity: 0;
  transform: translateY(-60px);
  transition: all 1s ease;
}

/* ANIMATION STATE */
.about-image.show img {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FRAME EFFECT
========================= */
.blue-frame {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 100%;
  height: 100%;

  border: 8px solid #ffa500;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;

  pointer-events: none; /* prevents click issues */
}

.blue-frame.show {
  transform: scaleX(1);
}

/* =========================
   TEXT SIDE
========================= */
.about-text {
  width: 50%;
}

.about-text h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.line {
  width: 60px;
  height: 3px;
  background: red;
  margin-bottom: 25px;
}

.about-text p {
  color: #013bb0;
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 22px;
  text-align: justify;
}

/* =========================
   BUTTONS
========================= */
.buttons {
  display: flex;
  gap: 15px;
}

.btn-outline {
  padding: 10px 25px;
  border: none;
  background: #ff4a57;
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-outline:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* =========================
   RESPONSIVE FIX
========================= */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image,
  .about-text {
    width: 100%;
  }

  .about-text p {
    font-size: 16px;
  }

  .blue-frame {
    top: 15px;
    left: 15px;
  }
}


/*GALLERY SECTION*/

.portfolio {
  padding: 100px 0;

  /* 🔥 Background image */
  background:url("gallery.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.container {
  width: 90%;
  margin: auto;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* Left side text */
.portfolio-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: #222;
}
.gallery-title{
    position: relative;
    display: inline-block;
}

.gallery-title::after{
    content: "";
    display: block;
    width: 70px;        /* line length */
    height: 4px;        /* line thickness */
    background: #ff4d4d; /* line color */
    margin-top: 5px;
}
/* Right side filters */
.portfolio-filter {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  
}

.portfolio-filter span {
  cursor: pointer;
  color: #666;
  font-size: 25px;
}
.portfolio-filter span:hover {
    color: #ff4d4d; /* hover lo orange */
}

.portfolio-filter .active {
  color: #ff4d4d;
  font-weight: 600;
  
}

/* Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}
.portfolio-grid img {
    width: 100%;
    height: 330px; /* size thagginchali ante ikkada change chey */
    object-fit: cover;
    border-radius: 10px;
}
.item {
    transition: 0.4s;
}

.card {
  overflow: hidden;
  border-radius: 15px;
}

.card img {
  width: 100%;
  display: block;
  height: 180px;
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.1);
}
/*ANIMATION*/
/* 🔥 INITIAL STATE (hidden) */
.portfolio .item {
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  transition: all 0.6s ease;
}

/* 🔥 WHEN VISIBLE (POP UP) */
.portfolio.show .item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 🔥 STAGGER EFFECT (one by one) */
.portfolio.show .item:nth-child(1){ transition-delay:0.1s; }
.portfolio.show .item:nth-child(2){ transition-delay:0.2s; }
.portfolio.show .item:nth-child(3){ transition-delay:0.3s; }
.portfolio.show .item:nth-child(4){ transition-delay:0.4s; }
.portfolio.show .item:nth-child(5){ transition-delay:0.5s; }
.portfolio.show .item:nth-child(6){ transition-delay:0.6s; }
.portfolio.show .item:nth-child(7){ transition-delay:0.7s; }
.portfolio.show .item:nth-child(8){ transition-delay:0.8s; }
.portfolio.show .item:nth-child(9){ transition-delay:0.9s; }

/* 🔥 EXIT ANIMATION */
.portfolio.hide .item {
  opacity: 0;
  transform: translateY(-40px) scale(0.9);
}


/*SERVICE BLOCK*/
.services {
    padding: 80px 10%;
    background: #f9f9f9;
}

/* Title */
.services h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
}

.services .subtitle {
    color: #777;
    margin-bottom: 50px;
    font-size: 25px;
}

/* Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

/* Cards */
.card {
    padding: 40px 25px;
    min-height: 500px;
    border-radius: 12px;
    color: white;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
}
/* Scroll Animation */
.card{
    opacity:0;
    transform:translateY(60px);
    transition:all 0.8s ease;
}

/* When visible */
.card.show{
    opacity:1;
    transform:translateY(0);
}
/* Different colors */
.card:nth-child(1) { background: #ff7a00; transition-delay:0.1s;  }
.card:nth-child(2) { background: #1e5f8a; transition-delay:0.1s;  }
.card:nth-child(3) { background: #ffa500; transition-delay:0.1s; }
.card:nth-child(4) { background: #2f7fa3; transition-delay:0.1s; }
.card:nth-child(5) { background: #ff7a00; transition-delay:0.1s;  }
/* Icon */
.icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 5px;
}

/* Text */
.card h3 {
  font-size: 25px;
    margin-bottom: 90px;
}

.card p {
    font-size: 20px;
    line-height: 1.6;
}

/* Hover effect 🔥 */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/*TEAM MEMBER DESIGN*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background:#f5f5f5;
}

/* SECTION */
.team-section{
    width:100%;
    padding:80px 0;
    text-align:center;
    overflow:hidden;
}

.team-small-text{
    color:#777;
    font-size:18px;
    margin-bottom:10px;
}

.team-heading{
    font-size:58px;
    font-weight:700;
    margin-bottom:70px;
    color:#111;
}

/* SLIDER */
.team-slider{
    width:100%;
    max-width:1200px;
    margin:auto;
    position:relative;
    overflow:hidden;
}

/* TRACK */
.team-track{
    display:flex;
    transition:0.8s ease;
}

/* PAGE */
.team-page{
    min-width:100%;
    display:flex;
    justify-content:center;
    gap:55px;
}

/* CARD */
.team-card{
    width:320px;
    position:relative;
}

.team-card img{
    width:100%;
    height:420px;
    object-fit:cover;
    display:block;
}

/* INFO BOX */
.team-info{
    width:250px;
    background:#fff;
    margin:auto;
    margin-top:-45px;
    position:relative;
    padding:38px 20px 25px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

/* ICON */
.social-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#b48cff;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:30px;

    position:absolute;
    top:-35px;
    left:50%;
    transform:translateX(-50%);
}

.team-info h3{
    font-size:28px;
    margin-bottom:10px;
    color:#111;
}

.team-info p{
    color:#555;
    font-size:18px;
}

/* NAV BUTTONS */
.nav-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.7);
    backdrop-filter:blur(10px);
    font-size:28px;
    cursor:pointer;
    z-index:10;

    opacity:0;
    transition:0.4s ease;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

/* SHOW BUTTONS ON HOVER */
.team-slider:hover .nav-btn{
    opacity:1;
}

/* LEFT */
.prev-btn{
    left:15px;
}

/* RIGHT */
.next-btn{
    right:15px;
}

/* HOVER EFFECT */
.nav-btn:hover{
    background:#b48cff;
    color:#fff;
    transform:translateY(-50%) scale(1.08);
}

/* MOBILE */
@media(max-width:992px){

    .team-page{
        flex-direction:column;
        align-items:center;
    }

    .team-heading{
        font-size:42px;
    }

    .team-card{
        width:300px;
    }

    .team-card img{
        height:400px;
    }
}
/* CONTACT FORM*/
.contact-modern{
  display:flex;
  height:100vh;
  width:100%;
}

/* LEFT SIDE */
.left-panel{
  flex:1;
  background:#006dac;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
  color:white;
  position:relative;
}

/* yellow bar */
.left-panel::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:15px;
  height:100%;
  background:#ff7a00;
}

.quote-content h1{
  font-size:43px;
  line-height:1.3;
  margin-bottom:20px;
}

.quote-content h4{
  font-size:28px;
  color:#ffb400;
}

/* RIGHT SIDE */
.right-panel{
  flex:1;
  background:#ff8102;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
}
/* FORM BOX */
.form-box{
  width:100%;
  max-width:500px;
  display:flex;
  flex-direction:column;
  gap:20px; /* 🔥 overall spacing */
}

/* ROW */
.form-row{
  display:flex;
  gap:20px; /* 🔥 space between 2 inputs */
}

/* INPUTS */
.form-box input,
.form-box textarea{
  flex:1;
  padding:14px;
  border:none;
  border-radius:8px;
  outline:none;
  background:#f5f5f5;

  /* 🔥 important */
  width:100%;
}

/* TEXTAREA */
.form-box textarea{
  height:120px;
}

/* BUTTON */
.form-box button{
  margin-top:10px;
  padding:14px;
  background:#2f3e75;
  color:white;
  border:none;
  border-radius:25px;
  cursor:pointer;
  font-weight:bold;
  transition:0.3s;
}
.form-box h2{
  font-family: 'Poppins', sans-serif;
  font-size: 40px;   /* 🔥 perfect size */
  font-weight: 600;  /* semi-bold */
  letter-spacing: 0.5px;
}
.form-box button:hover{
  background:#1e2a5a;
}

/*contact info*/
.contact-section {
    background: #003c63; /* red background */
    color: white;
    text-align: center;
    padding: 100px 10%;
}

/* Title */
.contact-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* small line below title */
.contact-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: white;
    margin: 10px auto;
}

/* description */
.contact-section .desc {
    max-width: 600px;
    margin: 20px auto 40px;
    font-size: 25px;
    line-height: 1.6;
}

/* contact details */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    font-weight: 900;
}

/* button */
.hire-btn {
    background: #00b81f;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

/* hover  */
.hire-btn:hover {
    background: white;
}

/* =========================
   ABOUT MODAL (KNOW MORE)
========================= */

.about-modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:#dde9f9;
  color:rgb(2, 57, 183);
  z-index:9999;
  overflow-y:auto;
}

.close-btn{
  position:absolute;
  top:20px;
  right:30px;
  font-size:35px;
  cursor:pointer;
}

/* Layout */
.about-container-2{
  display:flex;
  flex-direction:column;
}

/* FULL SCREEN */
.block{
  min-height:100vh;   /* 🔥 height kakunda min-height use cheyyi */
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
}

/* FLEX */
.about-flex{
  display:flex;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;  /* 🔥 prevents overflow */
}

.about-left{
  flex:1;
  min-width:280px;
  display:flex;
  justify-content:center;
}
/* CIRCLE IMAGE */
.circle-img{
  width:300px;
  height:300px;
  border-radius:50%;
  overflow:hidden;
  border:5px solid #ff4d6d;
  box-shadow:0 0 30px rgba(255,77,109,0.5);
}

.circle-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* RIGHT SIDE */
.about-text-2{
  flex:1;
  min-width:280px;
}

.about-text-2 h2{
  margin-bottom:15px;
}

.about-text-2 p{
  margin-bottom:15px;
  line-height:1.7;
  color:black;
}

/* 🔥 SLIDE 2 FULL SCREEN */
.mission-slide{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.mission-slide,
.founder-slide{
  min-height:100vh;
  height:auto;
}

/* HEADING */
.mv-heading{
  font-size:32px;
  margin-bottom:40px;
}

/* CONTAINER */
.mv-container{
  display:flex;
  gap:20px;
  width:100%;
}

/* BOXES */
.mv-box{
  flex:1;
  background: rgb(244, 244, 244);
  padding: 35px;
  border-radius: 20px;

  /* Square type size */
  min-height: 320px;
  width: 100%;

  border: 1px solid rgba(0,0,0,0.08);

  transition: 0.3s ease;

  /* Content alignment */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Hover */
.mv-box:hover{
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Heading */
.mv-box h3{
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  color: #111;
}

/* Paragraph */
.mv-box p{
  color: #333;
  line-height: 1.9;
  font-size: 18px;
}

/* 🔥 FOUNDER SLIDE */
.founder-slide{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:60px;
  padding:40px;
}

/* LEFT TEXT */
.founder-text{
  width:60%;

}

.founder-text h2{
  margin-bottom:20px;
}

.founder-text p{
  margin-bottom:15px;
  line-height:1.7;
  color:black;
}

/* RIGHT IMAGE */
.founder-img{
  width:40%;
  text-align:center;
}

.founder-img img{
  width:260px;
  height:260px;
  object-fit:cover;
  border-radius:10px; /* square with slight round */
  border:4px solid #ff7301;
  box-shadow:0 0 20px rgba(255,77,109,0.5);
}

.founder-img h4{
  margin-top:15px;
  font-size:18px;
}
/* FOOTER STYLE */
.footer-links{
  margin-top:60px;
  padding:40px;
  text-align:center;
  background:#ff8400;
  border-radius:10px;
}

.footer-links h2{
  margin-bottom:10px;
}

.footer-links p{
  color:#000000;
  margin-bottom:20px;
}

/* ICONS */
/* SOCIAL ICONS CONTAINER */
.social-icons{
  display:flex;
  justify-content:center;   /* center horizontally */
  align-items:center;
  gap:20px;                 /* space between icons */
  width:100%;
  margin-top:20px;
}

/* ICON BOX */
.social-icons a{
  width:45px;
  height:45px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff;
  text-decoration:none;
  transition:0.3s;
}

/* ICON SIZE */
.social-icons i{
  font-size:18px;
  color:#ff4d6d;
}

/* IF USING IMAGE ICONS */
.social-icons img{
  width:22px;
  height:22px;
}

/* HOVER EFFECT */
.social-icons a:hover{
  background:#ff4d6d;
  transform:scale(1.1);
}

.social-icons a:hover i{
  color:white;
}
/* =========================
   🌐 GLOBAL RESPONSIVE FIXES
========================= */
img{
  max-width:100%;
  height:auto;
}

section{
  width:100%;
  overflow:hidden;
}

/* =========================
   💻 LARGE DEVICES (LAPTOP / DESKTOP)
========================= */
@media (min-width:1025px){

  /* CONTACT FORM */
  .contact-modern{
    flex-direction:row;
  }

  .left-panel,
  .right-panel{
    flex:1;
  }

  /* TEAM */
  .team-group{
    justify-content:center;
    gap:60px;
  }

  .team-item{
    min-width:500px;
  }

}


/* =========================
   📱 TABLET DEVICES
========================= */
@media (max-width:1024px){

  /* NAVBAR */
  header{
    padding:15px 30px;
  }

  /* HERO */
  .hero{
    flex-direction:column;
    text-align:center;
  }

  .hero-left{
    margin-left:0;
    max-width:90%;
  }

  .hero-right{
    width:80%;
    height:400px;
    margin-top:30px;
  }

  /* ABOUT */
  .about-container{
    flex-direction:column;
    gap:30px;
  }

  .about-image,
  .about-text{
    width:100%;
  }

  /* SERVICES */
  .service-grid{
    grid-template-columns:repeat(2,1fr);
  }

  /* TEAM */
  .team-group{
    flex-direction:row;
    gap:30px;
  }

  .team-item{
    min-width:350px;
  }

  /* CONTACT FORM */
  .contact-modern{
    flex-direction:column;
  }

  .left-panel{
    height:250px;
  }

  .quote-content h1{
    font-size:28px;
  }

}


/* =========================
   📱 MOBILE DEVICES
========================= */
@media (max-width:768px){

  /* NAVBAR */
  header{
    padding:12px 20px;
  }

  nav ul{
    gap:15px;
  }

  /* HERO SECTION */
  .hero{
    padding-top:120px;
    padding-left:20px;
    padding-right:20px;

    /* Perfect center */
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;

    min-height:100vh;
    position:relative;
  }

  /* TITLE */
  h1{
    font-size:62px !important;
    line-height:1.2;
    font-weight:800;
    color:white;
    font-family:'Poppins', sans-serif;
    margin-bottom:25px;

    /* Glow effect */
    text-shadow:0 0 20px rgba(255,255,255,0.25);
  }

  /* SUBTITLE */
  .hero-left p{
    font-size:25px !important;
    font-weight:500;
    color:#ff6b5c;
    margin-bottom:40px;
    margin-top: 20px;
    font-family:'Poppins', sans-serif;
  }

  /* RIGHT IMAGE */
  .hero-right{
    width:100%;
    height:100vh;

    position:absolute;
    top:0;
    left:0;
    z-index:-1;

    border-radius:0;
     background-position:right center !important;
    background-size: cover !important;
  }

  /* DARK OVERLAY */
  .hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    z-index:-1;
  }

  /* BUTTON */
  .hero-btn{
    padding:18px 45px;
    border:none;
    border-radius:50px;
    margin-top:25px;
    background:#ff6b5c;
    color:white;

    font-size:24px;
    font-weight:600;

    cursor:pointer;

    transition:0.4s ease;

    /* Floating animation */
    animation:floatBtn 3s ease-in-out infinite;

    box-shadow:0 10px 30px rgba(255,107,92,0.4);
  }
  
  /* Hover Effect */
  .hero-btn:hover{
    transform:translateY(-8px) scale(1.05);

    background:#ff826f;

    box-shadow:0 15px 40px rgba(255,107,92,0.6);
  }

  /* Floating Animation */
  @keyframes floatBtn{
    0%{
      transform:translateY(0px);
    }

    50%{
      transform:translateY(-12px);
    }

    100%{
      transform:translateY(0px);
    }
  }

  /* PORTFOLIO */
  .portfolio-grid{
    grid-template-columns:1fr;
  }

  /* SERVICES */
  .service-grid{
    grid-template-columns:1fr;
  }

  .card{
    height:auto;
  }

  .card h3{
    margin-bottom:20px;
  }
  /* 🔥 HAMBURGER FIX */
.hamburger{
  display:flex;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:25px;
  height:3px;
  background:#333;
}

/* NAV MENU MOBILE */
nav ul{
  position:fixed;
  top:80px;
  right:-260px;
  width:220px;

  background:white;
  border-radius:10px;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);

  flex-direction:column;
  align-items:flex-start;
  gap:20px;
  padding:25px;

  transition:0.4s;
}

/* OPEN MENU */
nav ul.active{
  right:20px;
}
/* =========================
   🔥 ABOUT MODAL MOBILE FIX
========================= */

.about-modal{
  overflow-y:auto;
}

.block{
  height:auto;              /* full screen lock remove */
  padding:30px 15px;
}

/* FLEX FIX */
.about-flex,
.founder-slide{
  flex-direction:column;
  text-align:center;
  gap:25px;
}

/* IMAGE */
.circle-img{
  width:200px;
  height:200px;
}

/* TEXT */
.about-text-2{
  width:100%;
}

.about-text-2 p{
  font-size:14px;
  line-height:1.6;
}

/* MISSION & VISION */
.mv-container{
  flex-direction:column;
  gap:20px;
}

.mv-box{
  padding:20px;
}

/* FOUNDER */
.founder-text{
  width:100%;
}

.founder-img{
  width:100%;
}

.founder-img img{
  width:180px;
  height:180px;
}
  /* =========================
     🔥 TEAM MOBILE FIX
  ========================= */
  .team-fade{
    height:auto;
  }

  .team-group{
    flex-direction:column;   /* 🔥 one by one */
    align-items:center;
    gap:30px;
    position:relative;
  }

  .team-item{
    min-width:100%;
    flex-direction:column;
    text-align:center;
  }

  .team-img img{
    width:120px;
    height:120px;
  }

  .team-info p{
    max-width:100%;
    font-size:15px;
  }

  /* =========================
     🔥 CONTACT MOBILE FIX
  ========================= */
  .contact-modern{
    flex-direction:column;
  }

  .left-panel{
    display:none;   /* ❌ hide quotes */
  }

  .right-panel{
    width:100%;
    padding:20px;
  }

  .form-box{
    max-width:100%;
  }

}


/* =========================
   📱 SMALL DEVICES (PHONES)
========================= */
@media (max-width:480px){

  h1{
    font-size:30px;
  }

  .services h2,
  .portfolio-header h2,
  .team-title,
  .contact-section h2{
    font-size:26px;
  }

  .hero-left p{
    font-size:16px;
  }

  .icon{
    width:30px;
    height:30px;
  }

}