:root {
    --primary: #ff6a00;
    --dark: #222;
    --light: #ffffff;
    --bg: #f4f6f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg);
    color: var(--dark);
    scroll-behavior: smooth;
}


/* navbaar + logo + manu navigation  */


nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: var(--light);
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;

}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-container {
    text-decoration: none;
    color: inherit;
    /* text ka color same rahe */
}


nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}


nav.hide {
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}



/* NAVBAR BASE */
/* Update Date 21-03-2026 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #ff6600;
    /* 🔥 orange navbar */
}

/* LOGO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* MENU */
nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    /* 🔥 important */
    margin: 0;
    padding: 0;
}


/* HAMBURGER BUTTON */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-left: auto;
    /* 🔥 push to right */
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    nav ul {
        position: absolute;
        top: 100%;
        /* 🔥 nav ke neeche */
        left: 0;
        width: 100%;
        background: #ff6600;

        flex-direction: column;
        align-items: flex-start;

        max-height: 0;
        /* 🔥 hidden */
        overflow: hidden;
        transition: 0.3s ease;

        padding: 0 20px;
        /* 🔥 top padding hata diya */
    }

    nav ul.active {
        max-height: 400px;
        /* 🔥 open height */
        max-width: 400px;
        padding: 20px 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        /* ya 300px bhi kar sakta hai */
    }

    nav ul li {
        width: 100%;
        padding: 4px 0;
        /* 🔥 yaha se spacing control hota hai */
        margin: 0;
        padding: 0 !important;
        /* 🔥 main gap control */
        line-height: 1 !important;
        /* 🔥 extra height hatao */

    }

    nav ul li a {
        color: white !important;
        /* 🔥 ye add karo */
        font-size: 16px;
        display: block;
        padding: 0 !important;
        /* 🔥 main fix */
    }

    nav ul li a:hover {
        color: white;
    }

    .menu-toggle {
        display: flex;
        /* 🔥 block → flex */
        align-items: center;
        /* 🔥 vertical center */
        justify-content: center;
        color: #ff6600;
        line-height: 1;
        height: auto;
    }
}

/* navbaar + logo + manu navigation End  */

section {
    padding: 120px 10%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TITLE ANIMATION */
.hero-title {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.5s;
}

/* SUBTITLE ANIMATION */
.hero-subtitle {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 1s;
}

/* BUTTONS ANIMATION */
.hero-btns {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 1.5s;
}


/* KEYFRAME */
@keyframes fadeUp {
    to {

        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeDown 1s ease forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
    animation: fadeUp 1.2s ease forwards;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #e65c00;
    transform: scale(1.05);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary);
}

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 30px;
}

/* Animations */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Container for the text and timeline below the profile card */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal columns */
    gap: 50px;
    /* Balanced space between columns */
    max-width: 1100px;
    /* Matches your profile card width */
    margin: 80px auto;
    /* Perfectly centered on screen */
    padding: 20px;
    /* Consistent padding */
    align-items: center;
    /* Keeps both columns aligned at the top */
}


/* About text alignment */

.about-white {
    width: 100%;
    background: #f2f2f2;
    padding: 120px 10%;
    min-height: 300px;
    /* minimum height */
    max-height: 400px;
    /* maximum height */
    overflow: hidden;
    /* agar content zyada hua toh scroll ya cut */
}


.about-text h3 {
    color: #FF6633;
    /* Your theme primary orange */
    font-size: 1.8rem;
    margin-top: 0;
    /* Removed top margin for alignment */
    margin-bottom: 15px;
}

.about-text p {
    max-width: 100%;
    /* Allow it to fill the grid column */
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
    /* Professional editorial look */
}

/* Info list styling */
.info-list {
    list-style: none;
    /* Clean look */
    padding-left: 0;
    /* Reset padding */
    margin-top: 20px;
}

.info-list li {
    margin-bottom: 12px;
    font-weight: 600;
}

.info-list span {
    font-weight: 400;
    color: #666666;
    /* Subtle contrast for details */
    margin-left: 10px;
}

/* Timeline alignment */
.experience-timeline {
    margin-top: 0;
}

.experience-timeline div {
    margin-bottom: 25px;
    padding-left: 20px;
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        /* Stack vertically on small screens */
        padding: 20px;
        gap: 30px;
    }
}

/* ================= About me - PROFILE CARD ================= */

.profile-section {
    width: 100%;
    background: white;
    padding: 0px 0;
    display: block;
    min-height: auto;
    height: auto;
    background: transparent;
}

.profile-card {
    display: flex;
    max-width: 1300px;
    /* yaha pura content width control hogi */
    margin: auto;
    gap: 40px;
    /* photo aur text ke beech ka gap */
    align-items: center;
    /* photo aur text top se align honge */
}

/* LEFT IMAGE BOX (SMALL PHOTO BOX) */

.image-box {
    width: 420px;
    height: 520px;
    /* yaha height control hogi */
    background: orange;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    margin-left: 20px;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    /* center horizontally, 30% from top */
    display: block;
}


.image-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🔥 main fix */
    position: absolute;
    /* 🔥 IMPORTANT */
    top: 0;
    left: 0;
}


/* SOCIAL BAR */

.social-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255, 147, 5, 0.35);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.social-bar a {
    color: white;
    border: 1px solid white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .3s;
}

.social-bar a:hover {
    background: orange;
    color: rgb(255, 255, 255);
}

/* RIGHT SIDE */

.profile-info h2 {
    font-size: 30px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.profile-info span {
    color: orangered;
}

.profile-info h4 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 22px;
    color: #ff5507;
    margin-bottom: 0px;
    /* 10px → 5px */
}

.profile-info p {
    line-height: 1.6;
    /* spacing */
    margin-bottom: 25px;
    /* niche space */
    margin-top: 15px;
    /* 👈 text upar se niche  */
    text-align: justify;
    /* fully justify text */
    text-align-last: left;
    max-width: 800px;

}

.profile-info {
    flex: 1;
    padding: 0 40px;
    text-align: left;
}

.profile-info h2,
.profile-info h4,
.profile-info p {
    text-align: left;
    margin-left: 0;
}

/* Remove orange line between heading and designation */

.profile-info h2::after,
.profile-info h2::before {
    display: none;
    content: none;
}

.profile-info h4 {
    border: none;
    /* agar border se line aa rahi ho */
    padding-top: 0;
    margin-top: 0;
}

/* MY SKILLS HEADING */

.skills-title {
    color: #ff6a00;
    /* orange color */
    font-size: 22px;
    /* text size */
    margin-bottom: 10px;
    /* niche space control */
    margin-top: 10px;
    /* upar thodi space */
    font-weight: 600;
}


/* SKILLS */

.skill {
    display: flex;
    align-items: center;
    margin-bottom: 08px;
}

.skill-label {
    background: orange;
    color: white;
    padding: 6px 12px;
    font-size: 13px;
    margin-right: 10px;
    font-weight: bold;
    /* yaha font bold hoga */
    width: 110px;
    display: flex;
    /* 🔥 add */
    align-items: center;
    /* 🔥 vertical center */
    justify-content: center;
    /* 🔥 horizontal center */
}

.skill-bar {
    flex: 1;
    height: 20px;
    background: #ddd;
    position: relative;
    margin-right: 10px;
}

.skill-bar span {
    position: absolute;
    height: 100%;
    background: #Ff6633;
    width: 0;
    transition: 1.5s;
}

.percent {
    font-size: 14px;
    color: black;
    font-weight: bold;
    /* yaha font bold hoga */
}

.skill-bar span {
    transition: 1.5s ease;
}


.wa-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;

    transition: opacity 0.3s ease;
}

/* hide class */
.wa-hide {
    opacity: 0;
    pointer-events: none;
}

/* --------ABout me Mobile View---- */

@media (max-width: 768px) {

    /* --- NAVIGATION & ANCHOR FIX --- */
    /* This is the key fix for your hidden text issue */
    #about-section {
        scroll-margin-top: 100px;
        /* Adjust this number based on your navbar height */
        padding-top: 20px;
        display: block;
    }

    .about-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 5px;
        display: block;
        /* Ensures it is not hidden */
    }

    .orange-line {
        margin: 0 auto 30px auto;
        /* Centers the line below the text */
    }

    /* Ensure the profile card doesn't push the title out of view */
    .profile-card {
        flex-direction: column;
        margin-top: 10px;
    }



    .image-box {
        width: 100%;
        /* Full width on mobile */
        max-width: 350px;
        margin: 0 auto;
    }

    .image-box img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        /* Optional: adds a nice touch */
    }

    .profile-info {
        padding: 0 10px;
    }

    .profile-info h2 {
        font-size: 24px;
        /* Slightly larger for impact */
        margin-top: 15px;
    }

    /* --- SKILLS SECTION FIX (Compact & Clean) --- */
    .skill {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        justify-content: center;
        /* Centers the whole skill row */
    }

    .skill-label {
        width: 90px;
        /* Fixed width so bars align perfectly */
        font-size: 11px;
        padding: 5px;
        margin-right: 8px;
        /* Small gap between label and bar */
        flex-shrink: 0;
        border-radius: 3px;
    }

    .skill-bar {
        flex: 1;
        /* Fills the middle space */
        max-width: 180px;
        /* Prevents the bar from getting too long */
        height: 16px;
        background: #ebebeb;
        border-radius: 10px;
        /* Rounded bars look modern */
        overflow: hidden;
        /* Keeps the orange inside the rounded corners */
    }

    .skill-bar span {
        border-radius: 10px 0 0 10px;
    }

    .percent {
        font-size: 12px;
        width: 35px;
        /* Fixed width so numbers don't jump */
        text-align: left;
        margin-left: 8px;
    }

    /* --- ABOUT CONTENT --- */
    .about-container {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .about-white {
        height: auto;
        max-height: none;
        overflow: visible;
        padding: 20px 10px;
    }

    /* Extra touch for the Experience/Freelance text */
    .profile-info p {
        line-height: 1.6;
        font-size: 14px;
        color: #333;
    }
}

.about-white {
    max-height: none;
    height: auto;
    overflow: visible;
}


/* ---------------------Mobile View End ------------------------------------------------------- */

.contact-wrapper {
    margin-top: 60px !important;
}

@media (max-width: 480px) {

    /* 1. Reduce the container's side padding if you have any */
    .skill {
        margin-bottom: 6px;
        gap: 5px;
        /* Creates a small, consistent gap between items */
    }

    /* 2. Shrink the orange label box */
    .skill-label {
        width: 80px;
        /* Much smaller width for mobile */
        font-size: 10px;
        /* Smaller text to prevent overflow */
        padding: 4px 5px;
        /* Tighter padding */
        margin-right: 0px;
        /* Remove margin; we'll use gap instead */
        flex-shrink: 0;
        /* Keeps the box from squishing */
    }

    /* 3. Fix the Bar Gap */
    .skill-bar {
        flex: 1;
        /* This makes the bar take up all available middle space */
        height: 15px;
        /* Thinner bar looks cleaner on mobile */
        margin-right: 5px;
        /* Small space before the % text */
    }

    /* 4. Ensure the % text stays on one line */
    .percent {
        font-size: 11px;
        min-width: 30px;
        /* Keeps the % text from jumping around */
        text-align: right;
    }
}



/* ===== POLICIES SECTION MAIN ===== */

/* ===== SECTION HEADING ===== */
.section-title {
  text-align: center;        /* Center text */
  font-size: 42px;           /* Big heading */
  font-weight: 700;          /* Bold */
  color: #222;               /* Dark color */
  margin-bottom: 40px;       /* Space below */
  position: relative;        /* Needed for line */
letter-spacing: 1px;       /* 👉 YAHAN add karo */
  text-transform: capitalize;/* 👉 YAHAN add karo */
}

/* ===== ORANGE LINE BELOW ===== */
.section-title::after {
  content: "";
  width: 70px;               /* Line width */
  height: 4px;               /* Line thickness */
  background: #ff6600;       /* Orange color */
  display: block;
  margin: 12px auto 0;       /* Center line */
  border-radius: 2px;        /* Smooth edges */
}


/* ===== POLICY INTRO TEXT ===== */
.policy-intro {
  text-align: center;   /* center me aayega */
  max-width: 700px;     /* line zyada wide na ho */
  margin: -10px auto 25px; /* upar thoda gap, niche zyada gap */
  font-size: 15px;
  color: #555;          /* light grey professional look */
  line-height: 1.6;
  font-weight: 600; /* text bold */
}


/* ===== PROJECT WORK TERMS HEADING ===== */
h3 {
  color: #000000; /* Orange color (same theme as your site) */
  margin-top: 5px;
  margin-bottom: 5px;
}

#policies {
  background: #ffffff;        /* Section background white */
  padding: 60px 20px;        /* Top-bottom space + side padding */
}


/* ===== GRID CONTAINER ===== */
.policies-container {
  display: grid;
  grid-template-columns: 1fr;   /* 🔥 sab ek ke niche */
  gap: 20px;
  max-width: 900px;             /* center width */
  margin: auto;                 /* center align */
}


/* ===== SINGLE POLICY CARD ===== */
.single-policy {
  background: #f9f9f9;        /* Light grey background */
  padding: 20px;              /* Inner spacing */
  border-left: 4px solid #ff6600; /* Orange left border */
  border-radius: 8px;         /* Rounded corners */
  transition: 0.3s;           /* Smooth hover animation */
}


/* ===== HOVER EFFECT ===== */
.single-policy:hover {
  transform: translateY(-5px);  /* Card upar uthta hai */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Shadow effect */
}


/* ===== POLICY TITLE ===== */
.single-policy h4 {
  margin-bottom: 10px;        /* Heading ke niche gap */
  color: #FF6633;                /* Dark text */
}


/* ===== LIST STYLE ===== */
.single-policy ol {
  padding-left: 18px;         /* Left spacing for numbers */
  color: #000000;                /* Slight grey text */
  font-size: 14px;            /* Text size */
  line-height: 1.6;           /* Line spacing */
}

/* ===== MAKE ORDERED LIST NUMBERS BOLD ===== */
ol li::marker {
  font-weight: bold; /* This makes only the list numbers (1,2,3...) bold */
  color: #000000;
}


.policy-end {
  text-align: left;
  margin-top: 20px;
  color: #000000;
  line-height: 1.6;
}

.single-policy ol li {
  padding-left: 5px;
}



/* ===== SIGNATURE STYLE DR ===== */
.signature {
  color: #FF6633;  /* Orange color */
  font-weight: 700;
}


@media (max-width: 576px) {
  .section-title {
    font-size: 28px;   /* heading chhota */
  }

  .single-policy {
    padding: 15px;
  }

  .single-policy ol {
    font-size: 13px;
  }
}


/* ===== POLICIES SECTION MAIN End ===== */


/* 🔥 DROPDOWN PARENT (Services) */
.dropdown {
  position: relative; /* important for positioning child */
}

/* 🔥 DROPDOWN MENU (hidden by default) */
.dropdown-menu {
  position: absolute;
  top: 100%; /* directly below Services */
  left: 0;
  background: #ff6600;
  list-style: none;
  min-width: 150px;

  display: none; /* hidden initially */
  padding: 10px 0;
}

/* 🔥 DROPDOWN ITEM */
.dropdown-menu li {
  padding: 8px 15px;
}

/* 🔥 LINK STYLE */
.dropdown-menu li a {
  color: white;
  text-decoration: none;
  display: block;
}

/* 🔥 SHOW DROPDOWN ON HOVER */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* 🔥 HOVER EFFECT */
.dropdown-menu li:hover {
  background: #e65c00;
}