/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f4f7f7;
}

/* Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: #ebf0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    height:80px
}

.logo img{
  height: 120px;      /* Desktop logo size */
  width: auto;
  display: block;
  font-size:100px;
}


/* Links Styling */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4a6367;
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover, 
.nav-links a.active {
    color: #1a363a;
}

/* Active Underline */
.nav-links a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #4a7a80;
    bottom: -8px;
    left: 0;
}

.arrow {
    font-size: 10px;
    margin-left: 4px;
}

/* Button Styling */
.btn-main {
    background-color: #1a363a;
    color: white !important;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-main:hover {
    background-color: #2c4d52;
}

/* Hide Checkbox & Icons for Desktop */
#check, .icons {
    display: none;
}

.mobile-cta {
    display: none;
}

/* --- Responsive Design (Mobile & Tablet) --- */
@media (max-width: 1024px) {
    .navbar {
        padding: 10px 5%; /* Padding thodi kam ki hai */
        position: relative;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px; /* Navbar ki fixed height */
        width:510px;
    }

    .nav-action {
        display: none;
    }

    .icons {
        display: flex; /* Centering lines */
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1100;
        width: 30px;
        height: 30px;
    }

    /* Hamburger Lines - Unified Styling */
    .menu-btn, .menu-btn::before, .menu-btn::after {
        content: '';
        background: #1a363a;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        transition: 0.4s;
        position: absolute;
    }
    
    .menu-btn::before { transform: translateY(-8px); }
    .menu-btn::after { transform: translateY(8px); }

    /* Nav Links Panel - Fixed Logic */
    .nav-links {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #ebf0f0;
        top: 0; /* Full screen panel */
        left: -100%; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease-in-out;
        z-index: 1050;
        gap: 25px; /* Links ke beech gap */
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    /* Checkbox Logic */
    #check:checked ~ .nav-links {
        left: 0;
    }

    /* Hamburger to 'X' Animation Fix */
    #check:checked ~ .icons .menu-btn {
        background: transparent;
    }
    #check:checked ~ .icons .menu-btn::before {
        transform: rotate(45deg) translateY(0);
    }
    #check:checked ~ .icons .menu-btn::after {
        transform: rotate(-45deg) translateY(0);
    }
}

/* Small Device Fix (Phones) */
@media (max-width: 480px) {
    .navbar {
        height: 60px;
    }
    .nav-links {
        padding-top: 50px;
    }
}


/* hero section */
/* --- Root Variables & Reset --- */
:root {
    --primary-dark: #1a363a;
    --accent-blue: #7ba2ab;
    --text-grey: #6a7d80;
    --bg-light: #f1f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
}

.container {
    width: 85%;
    margin: 0 auto;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- Left Side --- */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.tags-container {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.tag {
    padding: 8px 20px;
    border: 1px solid #cdd4d5;
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-grey);
    animation: float 4s ease-in-out infinite;
}

.active-tag {
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.active-tag span {
    width: 6px;
    height: 6px;
    background: var(--primary-dark);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(30px, 5vw, 60px);
    line-height: 0.90;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 60px;
}

/* make the "Two Dots" text a link */
.hero-link {
    text-decoration: none;
    color: inherit;
}
.hero-link:hover {
    text-decoration: underline;
}

.accent-text { color: var(--accent-blue); }

.hero-desc {
    max-width: 450px;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 15px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn-fill {
    background: var(--primary-dark);
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline {
    border: 1px solid #cdd4d5;
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
}

.hero-stats h2 {
    font-size: 48px;
    font-weight: 700;
}

.hero-stats p {
    color: var(--text-grey);
    font-size: 14px;
}

/* --- Right Side Visuals --- */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Sab kuch right side align karne ke liye */
}

.main-img-box {
    width: 100%;
    position: relative;
}
.main-img {
    width: 100%;
    /* Image ko niche se halka transparent karne ke liye gradient mask */
    mask-image: linear-gradient(to bottom, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent);
}
/* Right side wala chota text */
.side-info {
    text-align: right;
    margin-top: -100px; /* Text ko image ke upar thoda overlap karne ke liye */
    z-index: 5;
    padding-right: 20px;
}
.side-info p {
    font-size: 14px;
    color: #6a7d80;
    line-height: 1.5;
    max-width: 250px; /* Text ko do lines mein break karne ke liye */
    margin-bottom: 10px;
}
.bg-agency-text {
    font-size: 120px;
    font-weight: 800;
    color: #1a363a;
    opacity: 0.9; /* Image jaisa dark aur stylish look */
    line-height: 0.8;
    letter-spacing: -5px;
}

.floating-card {
    position: absolute;
    bottom: 10%;
    right: -10%;
    background: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 280px;
    animation: float 6s ease-in-out infinite;
}

.card-img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 10px;
}

.floating-card p {
    font-size: 12px;
    color: var(--text-grey);
    line-height: 1.4;
}

/* Background Big Text */
.hero-bg-text {
    position: absolute;
    bottom: -50px;
    right: 0;
    font-size: 20vw;
    font-weight: 900;
    color: rgba(26, 54, 58, 0.05);
    z-index: -1;
}
/* number animation */
.stat-item h2 {
    font-size: 48px;
    font-weight: 800;
    color: #1a363a;
    font-variant-numeric: tabular-nums; /* Isse numbers hilenge nahi counting ke waqt */
    transition: transform 0.3s ease;
}

.stat-item:hover h2 {
    transform: scale(1.1); /* Hover karne par halka bada hoga */
    color: #7ba2ab;
}
/* --- Responsive Layout --- */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        order: 2;
        margin-top: 50px;
    }

    .floating-card {
        right: 0;
        bottom: 0;
        width: 220px;
    }
}
@media (max-width: 992px) {
    .hero-visual {
        align-items: center; /* Mobile par center align */
        margin-top: 40px;
    }
    
    .side-info {
        text-align: center;
        margin-top: 20px;
        padding-right: 0;
    }
    
    .bg-agency-text {
        font-size: 80px;
        letter-spacing: -2px;
    }
}

/* exprience */

.experience {
    background: url('box.png');
    /* background-size:50%; */
    background-size: contain;
    /* background-size: cover; */
    background-repeat: no-repeat;
    background-position: center;
    width: 1490px;
    margin-left:1rem;
    min-height: 800px;
    display: flex;
    align-items: center; /* Vertically center */
    padding: 50px 8%;
    box-sizing: border-box;
}

.content-container {
    display: flex;
    justify-content: space-between; /* Left aur Right ko door karne ke liye */
    align-items: center;
    width: 100%;
    gap: 50px;
}

/* LEFT CONTENT STYLING (Dark Background Side) */
.left-content {
    flex: 1;
    max-width: 500px;
}

.left-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.left-content h1 span {
    color: #00bcd4; /* Accent color for 'Dot' */
}

.left-content p {
    font-size: 1rem;
    color: #d1d1d1;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* RIGHT CONTENT STYLING (On the Light Box) */
.right-content {
    flex: 1;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.1); /* Subtle glass effect */
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 15px;
    text-align: left;
}

.right-content h2 {
    font-size: 1.8rem;
    color: #ffffff; /* Contrast check: adjust based on box color */
    margin-bottom: 15px;
}

.right-text {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.5;
}

/* BUTTON STYLING */
.btn-start {
    padding: 14px 35px;
   background: #1f3b44;
    color: white;
    border: none;
    border-radius: 10px; /* Round pill shape is more stylish */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.6s ease;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.btn-start:hover {
    background: #008c9e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.5);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 992px) {
    .content-container {
        flex-direction: column;
        text-align: center;
    }
    .experience {
        padding: 80px 20px;
        height: auto;
    }
    .left-content, .right-content {
        max-width: 100%;
    }
}





/* services */
 .services-wrapper {
  overflow: hidden;
  max-width:1200px;
  margin: auto;
  /* margin-top:2rem; */
  height:550px;
  
  /* padding:3px; */
}

.services-slider {
  display: flex;
  transition: transform 0.7s ease-in-out;
}

.services-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  transition: transform 0.7s ease-in-out;
}

.service-card {
  background:#e3e8e7;
  padding:10px;
  border-radius:15px;
  height:250px;
   width:300px;
   transition: 0.2s ease;
}

.service-card h2{
  font-size:24px;
  color:#6fa2b2;
  margin-bottom:15px;
   transition: transform 0.3s ease, box-shadow 0.4s ease;
  border-radius: 10%;
 

} 
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

 
/* RIGHT CONTENT */
.services-content{
    text-align: center;
}
.services-content h1{
  font-size:48px;
  color:#18323b;
}

.services-content span{
  color:#6fa2b2;
}

/* Mobile */
@media(max-width:576px){
  .services-content h1{
    font-size:32px;
  }
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {
  .services-slide {
    grid-template-columns: repeat(2, 1fr);  /* 2 column */
  }
}

/* Mobile */
@media (max-width: 576px) {
  .services-slide {
    grid-template-columns: 1fr;  /* 1 column */
  }
}





/* ---------------- ANIMATIONS ---------------- */

/* LEFT → RIGHT PAGE LOAD */
.animate{
  opacity:0;
  transform:translateX(-60px);
  animation: slideIn 1s ease forwards;
}

@keyframes slideIn{
  to{
    opacity:1;
    transform:translateX(0);
  }
}

/* CARD ANIMATION (NO POSITION CHANGE) */
.card-animate{
  opacity:0;
  transform:scale(0.95);
  animation: fadeUp 0.8s ease forwards;
  animation-delay:0.6s;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:scale(1);
  }
}

/* Tablet Responsive */
@media(max-width:992px){
  .services-wrapper{
    flex-direction:column;
    text-align:center;
  }

  .services-cards{
    justify-content:center;
  }
}

/* Mobile */
@media(max-width:576px){
  .services-content h1{
    font-size:32px;
  }

  .services-image img{
    width:220px;
  }

  .services-cards{
    flex-direction:column;
  }

  .service-card{
    width:100%;
  }
}

/* HOVER ANIMATION */
.update-card:hover img {
  transform: scale(1.15);
}

.card-content small {
  color: #7a8c92;
  font-size: 14px;
}

.card-content h3 {
  margin: 10px 0;
  font-size: 20px;
  color: #51676f;
}

.card-content a {
  text-decoration: none;
  color: #6fa3b3;
  font-weight: 500;
}

/* RIGHT FEATURED */
.featured-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  cursor: pointer;

} 

/* FEATURED HOVER */
.featured-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

.featured-content {
  margin-top: 20px;
}

.featured-content small {
  color: #7a8c92;
}

.featured-content h2 {
  margin: 10px 0;
  font-size: 28px;
  color: #51676f;
}

.featured-content a {
  text-decoration: none;
  color: #6fa3b3;
  font-weight: 500;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .updates-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 34px;
  }

  .update-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .img-box {
    width: 100%;
    height: 200px;
  }
}

/* work-process */
body {
  background: hsl(165, 13%, 94%);
}

/* SECTION */
.process {
  padding: 80px 20px;
}

.process-container {
  max-width: 1200px;
  margin: auto;
}


.divider {
  width: 1px;
  height: 50px;
  background: #b8c7cb;
} 




/* footer section */
.footer {
  background-color: #1f3b45;
  color: #cfd8dc;
  padding: 60px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-logo {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-col h3 {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cfd8dc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: #3f6672;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  transition: background 0.3s;
}

.social-icons a:hover {
  background-color: #ffffff;
  color: #1f3b45;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* curve line */
    .global-story-line{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:1600px;
  pointer-events:none;
  z-index:1;
}

.hero,
.creativity{
  position:relative;
  z-index:2;
}
