html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    
}

/* NAVBAR */

header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.navbar {
    background: #5a0f14;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
}

.navbar h2 {
    color: #ffffff;
    /* White text */
    margin-left: 40px;
}

.single {
    margin-left: 200px;
    display: flex;
    gap: 30px;
}

.single a {
    color: #ffffff;
    /* White links */
    text-decoration: none;
    font-weight: 500;
}

.single a:hover {
    color: #ff6f00;
    /* Orange hover */
}

/* INTRO SECTION */
.intro {
    background-color: black;
    /* Black background */
    height: 600px;
}

.intro1 {
    margin-left: 100px;
    margin-bottom: 50px;
}

.develop {
    color: #ffffff;
    /* White text */
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.develop .mey {
    color: #ff6f00;
    /* Orange highlight */
}

.name h1 {
    color: #ffffff;
    font-size: 70px;
}

.name .mey {
    color: #ff6f00;
    /* Orange name */
}

.intro1 p {
    color: #ffffff;
    /* White text */
}

/* Layout */
.display {
    display: flex;
    gap: 70px;
    align-items: center;
    justify-content: center;
}

/* Profile Image */
.pic {
    width: 50%;
}

.image {
    width: 300px;
    height: 300px;
    border-radius: 100%;
    overflow: hidden;
    padding: 4px;
    background: #ff6f00;
    /* Orange ring */
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
}

/* BUTTON */
button {
    padding: 8px 18px;
    border-radius: 10px;
    border: none;
    background: #5a0f14;
    /* Dark red */
    color: #ffffff;
    /* White text */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

button {
    padding: 8px 18px;
    border-radius: 10px;
    border: none;
    background: #5a0f14;
    /* Dark red */
    color: #ffffff;
    /* White text */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background: #ff6f00;
    /* Orange hover */
    color: #000000;
    /* Black text when hovering */
}

/* ===== SKILL PAGE ===== */
/* --- Variables & General Styling --- */
:root {
    /* New Palette Colors */
    --black: #000000;
    --white: #ffffff;
    --orange-accent: #ff6f00;
    --dark-red-primary: #5a0f14;

    /* Applied Colors for the Layout */
    --primary-color: var(--dark-red-primary);
    /* Used for main button, potential header background */
    --light-bg-color: var(--white);
    /* Background color of the section */
    --text-color-dark: var(--black);
    /* Main body text color */
    --title-blue-part: var(--black);
    /* The "About" part of the title */
    --title-green-part: var(--orange-accent);
    /* The "Me" part of the title */
}

body {

    margin: 0;
    font-family: Arial, sans-serif;
    /* Using white for the main body background */
    background-color: var(--light-bg-color);
    color: var(--text-color-dark);
}

/* --- About Section Layout (Flexbox) --- */
.about-section {
    /* background: #5d5b5b; */
    background: #121212;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 80px 10%;
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
    /* background: #000; */
}

.about-content {
    /* background: #000; */
    flex: 1;
    max-width: 500px;
}

/* --- Typography Styling --- */
.about-title {
    font-size: 3.5em;
    margin-bottom: 5px;
    font-weight: 700;
}

.title-blue {
    /* Now using Black for the first word ("About") */
    color: var(--title-blue-part);
    color: #ffffff;
}

.title-green {
    /* Now using Orange for the second word ("Me") */
    color: var(--title-green-part);
}

.about-subtitle {
    color: #ffffff;
    font-size: 1.5em;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 20px;
}

.about-text {

    line-height: 1.6;
    margin-bottom: 30px;
    /* color: var(--text-color-dark); Using Black for paragraph text */
    color: #ffffff;
}

/* --- Button Styling --- */
.read-more-btn {
    display: inline-block;
    /* Using Dark Red for the button background */
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    /* A slightly darker shade for hover effect */
    background-color: #480c10;
}

/* --- Image Styling --- */
.about-image-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    /* Optional: Using Orange for the shadow/outline effect */
    box-shadow: 0 0 0 15px rgba(255, 111, 0, 0.2);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Responsiveness (No color changes here) --- */
/* @media (max-width: 850px) {
    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 50px 5%;
    }

    .about-image-container {
        margin-top: 40px;
        order: -1;
    }

    .about-content {
        max-width: 100%;
    }

    .about-title {
        font-size: 2.5em;
    }
} */
/* ##########################skill######################## */
/* --- Variables (New Palette) --- */
:root {
    /* Your Requested Colors */
    --black: #000000;
    --white: #ffffff;
    --orange-accent: #ff6f00;
    --dark-red-primary: #5a0f14;

    /* Applied Colors for the Layout */
    --main-bg: var(--white);
    /* White background for the whole page */
    --card-bg-light: #fff3e0;
    /* A very light tint of orange for the cards (to look like the image) */
    --accent-color: var(--dark-red-primary);
    /* Dark Red for buttons, icons, and title accent */
    --dark-text: var(--black);
}

/* --- General Section Styling --- */
.services-section {
    padding: 80px 5%;
    background-color: var(--black);
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--card-bg-light);
}

.title-accent {
    /* The accent word ("Services") is now Dark Red */
    color: var(--orange-accent);
}

/* --- Service Cards Layout (CSS Grid) --- */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Individual Card Styling --- */
.service-card {
    /* Card background is a light off-white/orange */
    background-color: var(--card-bg-light);
    /* Adding a border with Orange accent to define the cards */
    border: 1px solid rgba(147, 74, 18, 0.2);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

/* --- Icon Styling --- */
.service-icon {
    font-size: 1em;
    /* Icons are Dark Red */
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    /* Light background for the icon circle, using a transparent Dark Red */
    background-color: rgba(90, 15, 20, 0.1);
}

.service-icon img {
    width: 100px;
    /* background: #000; */
}

/* --- Typography in Card --- */
.service-heading {
    font-size: 1.4em;
    color: var(--dark-text);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}

/* --- Button Styling --- */
.read-more-btn {
    display: inline-block;
    /* Button background is Dark Red */
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    /* Darken the Dark Red on hover */
    background-color: #480c10;
}

/* --- Variables (New Palette) --- */
:root {
    /* Your Requested Colors */
    --black: #000000;
    --white: #ffffff;
    --orange-accent: #ff6f00;
    --dark-red-primary: #5a0f14;

    /* Applied Colors for the Contact Form */contact-section
    --main-bg: var(--white);
    /* Background of the entire section */
    --accent-color: var(--dark-red-primary);
    /* For the button and title accent */
    --input-border-color: var(--dark-red-primary);
    /* Border around inputs */
    --text-color-dark: var(--black);
    --placeholder-color: #666;
    /* Slightly lighter black for placeholders */
}

/* --- General Section Styling --- */
.contact-section {
    padding: 80px 5%;
    background-color:black;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--card-bg-light);
}

.title-accent {
    /* The accent word ("Me") is now Dark Red */
    color: var(--orange-accent);
}

/* --- Form Layout --- */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Space between rows and textarea/button */
}

.form-row {
    display: flex;
    gap: 20px;
    /* Space between input fields in a row */
}

.form-row input {
    flex: 1;
    /* Makes inputs in a row take equal space */
}

/* --- Input and Textarea Styling --- */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--input-border-color);
    /* Dark Red border */
    border-radius: 8px;
    font-size: 1em;
    font-family: Arial, sans-serif;
    color: var(--text-color-dark);
    background-color: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--placeholder-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--orange-accent);
    /* Orange border on focus */
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.2);
    /* Light orange glow */
}

/* Ensure textarea doesn't overflow */
.contact-form textarea {
    resize: vertical;
    /* Allow vertical resizing only */
    min-height: 120px;
    /* Minimum height */
}


/* --- Button Styling --- */
.send-message-btn {
    display: block;
    /* Make button full width of its container */
    width: fit-content;
    /* Adjust width to content */
    margin: 0 auto;
    /* Center the button */
    background-color: var(--accent-color);
    /* Dark Red button */
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.send-message-btn:hover {
    background-color: #480c10;
    /* Darker red on hover */
    transform: translateY(-2px);
    color: #ff6f00;
}

/* --- Responsiveness --- */
.your {
    width: 96%;

}

/* ################foter################# */
/* --- Footer Colors from Palette --- */
:root {
    --black: #000000;
    --white: #ffffff;
    --dark-red-primary: #5a0f14;
    --orange-accent: #ff6f00;
}

footer {
    /* Main footer background is Black */
    /* background-color: var(--black); */

    color: var(--white);
    padding: 40px 0 10px 0;
    font-family: Arial, sans-serif;
    text-align: center;
     background:#121212;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    /* background:#121212; */
}

/* --- 1. Social Media Links --- */
.social-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    /* Icons are White */
    color: var(--white);
    background-color: transparent;
    border: 1px solid var(--white);
    border-radius: 50%;
    font-size: 1.1em;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.social-icon:hover {
    /* Dark Red background on hover */
    background-color: var(--dark-red-primary);
    border-color: var(--dark-red-primary);
}

/* --- 2. Navigation Links --- */
.footer-nav {
    margin-bottom: 30px;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-size: 1em;
    font-weight: 400;
    /* Underline on hover with Orange */
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
    transition: border-bottom-color 0.3s, color 0.3s;
}

.footer-nav a:hover {
    color: var(--orange-accent);
    /* Orange text on hover */
    border-bottom-color: var(--orange-accent);
    /* Orange underline on hover */
}

/* --- 3. Copyright Text --- */
.copyright {
    /* Separating the copyright text with a subtle line */
    border-top: 1px solid #222;
    padding-top: 20px;
}

.copyright p {
    margin: 0;
    font-size: 0.85em;
    font-weight: 300;
}

/* --- Responsiveness --- */
.new {
    /* margin-right: 20px; */
    /* background: wheat; */
    padding-right: 200px;
    margin-top: 20px;
    margin-right: 120px;
}
/* ##########################project###################### */
.title {
  text-align: center;
  margin-bottom: 30px;
  padding: 42px;
  font-size: 32px;
  color: #ff6f00;
}

.project-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  padding-bottom: 20px;
  transition: 0.3s;
}

.card:hover {
  transform: scale(1.03);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 15px;
  margin: 0;
}

.card p {
  padding: 0 15px;
  color: #555;
}

.view-btn {
  display: block;
  width: 90%;
  margin: 15px auto 0;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #007bff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.view-btn:hover {
  background: #0056b3;
}
.pro{
    /* background: #000; */
    height: 500px;
     background-color: #121212;
}