/* ===================================================
   1. GLOBAL STYLES
   =================================================== */

/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Questrial", sans-serif;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    color: white; /* Default text color */
}

a {
    text-decoration: none;
    color: inherit;

}

body a {
    -webkit-tap-highlight-color: transparent;
        -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

/* ===================================================
   2. HEADER TAB
   =================================================== */
.header { 
    background-color: #0F0F0F;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Push elements to opposite sides */
    padding: 0 1rem;
    border-bottom: 1px solid #ccc;
    flex-wrap: wrap; /* Enable wrapping for smaller screens */
    position: fixed; /* Fix header at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it's above other elements */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Left Side (Logo + Headings) */
.left-container {
    display: flex;
    align-items: center; /* Align items vertically */
    gap: 20px; /* Space between logo and headings */
}

/* Logo */
.logo {
    display: flex;
    align-items: center; /* Align vertically */
    gap: 10px; /* Space between logo and text */
}

.logo-image {
    width: 135px; /* Adjust based on your design */
    height: auto;
    object-fit: contain;
}

/* Navigation Headings */
.headings {
    display: flex;
    gap: 15px;
    align-items: center; /* Align vertically with the logo */
}

.headings a {
    transition: 0.5s ease color;
}

.headings a:hover {
    color: #F21A4C;

}

/* Social Icons Effect */
.rightheadings {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto; /* Push to the right */
}

.rightheadings a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease-in-out;
}

.rightheadings img {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.rightheadings a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 8px #C32B4F;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.2);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.rightheadings a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #F91229;
    border-radius: 50%;
    top: 100%;
    left: 0;
    transition: top 0.6s ease-in-out;
}

.rightheadings a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.rightheadings a:hover::after {
    top: 0;
}

/* ====== SIMPLE BUTTON (No Effects) ====== */
.button-container {
    margin-left: 15px; /* Space between icons and button */
}

.button-container button {
    font-family: "poppins",sans-serif;
    padding: 8px 15px;
    background-color: #F91229;

    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.button-container button:hover {
    background-color: #E41212;
}
@media (max-width:850px) {
     .button-container {
        display: none;
    }
}

/* ===================================================
   2. HAMBURGER MENU + RESPONSIVENESS
   =================================================== */

/* Hamburger Menu */
.hamburger-menu {
    margin-left: 20px;
    width: 25px;
     cursor: pointer;
     display: none;
}

/* Show Hamburger Menu on Small Screens */
@media (max-width: 1150px) {
    .hamburger-menu {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 1.7rem;
    }
    .headings {
        display: none;
    }

}


/* Dropdown Menu */
.dropdown-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align all items to the left */
    text-align: left; /* Ensure text aligns left */
    position: fixed;
    top: 60px;
    right: -450px; /* Initially hidden */
    width: 450px; /* Default width for large screens */
    height: calc(100vh - 60px);
    background-color: #2B2B2B;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    transition: right 0.5s ease-in-out;
    background-color: #2B2B2B;
}

/* Show menu when active */
.dropdown-menu.active {
    right: 0;
}

/* Media queries for smaller screens */

/* For screens smaller than 1150px, reduce dropdown width */
@media (max-width: 1150px) {
    .dropdown-menu {
        width: 400px; /* Narrower width */
    }
}

/* For screens smaller than 1000px, further reduce width */
@media (max-width: 1000px) {
    .dropdown-menu {
        width: 350px; /* Even narrower */
    }
}

/* For screens smaller than 850px, further reduce width */
@media (max-width: 850px) {
    .dropdown-menu {
        width: 300px; /* Narrow width for mobile devices */
    }
}

/* For screens smaller than 600px, make the dropdown even narrower */
@media (max-width: 600px) {
    .dropdown-menu {
        width: 270px; /* Further narrow the width */
    }
}



/* Center dropdown header */
.dropdown-header {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    width: 100%;
    padding: 10px 0; /* Add some spacing */
}

/* Center and resize the dropdown logo */
.dropdown-logo {
    display: block;
    width: 120px; /* Adjust width */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain;
    margin: 0 auto; /* Center the logo horizontally */
}


/* Ensure dropdown menu items take full width */
.dropdown-menu a {
    display: flex; /* Make links flexible */
    align-items: center; /* Align text properly */
    justify-content: space-between; /* Space between text and arrow */
    width: 100%; /* Ensure full width */
    padding: 15px 20px;
    text-align: left;

    color: white;
    transition: background 0.3s, color 0.3s;
}

/* Hover Effect for Main Dropdown Items */
.dropdown-menu a:hover {
   background-color: #F91229; /* Red background */
    color: white;
}

/* Ensure the dropdown list itself takes full width */
.dropdown-list {
    display: none;
    flex-direction: column;
    width: 100%;
    list-style: none;
    padding-left: 0;
    margin-left: 0.5rem;
}

/* Show Dropdown List when Active */
.dropdown-list.active {
    display: flex;
}

/* Dropdown Arrows */
.drop-arrow {
    transition: transform 0.3s ease-in-out;
}

/* Show dropdown when hovering */
.projects-dropdown:hover .drop-arrow,
.services-dropdown:hover .drop-arrow,
.about-dropdown:hover .drop-arrow {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

/* Change SVG Arrow Color on Hover */
.projects-dropdown:hover .drop-arrow path,
.services-dropdown:hover .drop-arrow path,
.about-dropdown:hover .drop-arrow path {
    fill: white; /* Change arrow color to white */
}
.projects-dropdown, .services-dropdown, .about-dropdown {
      width: 100%;
    text-align: left;
    
    cursor: pointer;
    position: relative;
}



/* ===================================================
   3. DROPDOWN MENU 
   =================================================== */


/* ==== Headings Dropdown ==== */
.headings-dropdown {
    position: relative;
    display: inline-block;
}

/* Style for dropdown list */
.headings-dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2B2B2B;
    min-width: 150px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 999;
}

/* Dropdown items */
.headings-dropdown-list li {
    list-style: none;
}

.headings-dropdown-list a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

/* Hover effect */
.headings-dropdown-list a:hover {
   background-color: #F91229;
    color: white;
}

/* Show dropdown when active */
.headings-dropdown.active .headings-dropdown-list {
    display: block;
}

/* Rotate Arrow when active */
.headings-dropdown.active .drop-arrow {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

/* ===================================================
   4. HOMEPAGE BANNER
   =================================================== */
.homebanner {
    background-color: #1C1C1C;
    padding-top: 4rem;
   height: auto;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center items horizontally */
    text-align: center;
    font-size: 2.3rem;
    margin-top: 100px;
}

.homebanner h3 {
    padding-top: 5rem;
    max-width: 1000px;
    font-family: "Poppins", sans-serif;
    color: white; /* Ensure text is visible */
}

.banner-image img {
    max-width: 100%; /* Ensures image is responsive */
    width: 1000px;
    height: auto; /* Maintains aspect ratio */
  margin-bottom: 1rem;
}
@media (max-width: 1150px) { 
    .homebanner {
        font-size: 2rem;
    }

}
@media (max-width: 860px) { 
    .homebanner {
        font-size: 1.5rem;
    }
}
@media (max-width: 550px) { 
    .homebanner {
        font-size: 1.2rem;
    }
}
@media (max-width: 450px) { 
    .homebanner {
        font-size: 1rem;
    }
}
/* ===================================================
   5. FEATURE SECTION
   =================================================== */
 
 .featured {
      background-color: #F7F7F7;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
     
      color: #171717;
   }
   .featured h2 {
    margin-top: 3rem;
    font-size: 2.5rem;
   }
   .featured-image h2 {
         font-size: 2.2rem;
   }
   .featured-image img {
    margin-top: 2rem;
       max-width: 100%; /* Ensures image is responsive */
       width: 1000px;
       height: auto; /* Maintains aspect ratio */
       margin-bottom: 1rem;
       border-radius: 20px;
   }
   .featured-description p {
      max-width: 800px;
      font-family: "cabin",sans-serif;
      font-size: 1.1rem;
   }
   .featured-button button {
    margin-top: 1rem;
      font-family: "poppins",sans-serif;
    padding: 12px 20px;
    background-color: #F91229;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    margin-bottom: 4rem;
   }
   .featured-button button:hover {
      background-color: #E41212;
   }

   /* ===================================================
   6. WHY CHOOSE US SECTION
   =================================================== */
/* Why Choose Us Section */
.whychooseus {
    background-color: #1C1C1C;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whychooseus-container {
    max-width: 1200px;
    width: 100%;
}

/* Heading and Paragraph */
.whychooseus h2 {
    color: white;
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.whychooseus p {
    color: white;
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

/* Icon Container */
.whychooseus-icons {
    display: flex;
    justify-content: center;
    gap: 2rem; /* Space between icons */
}

/* Individual Icon Boxes */
.whychooseus-box {
    background: #111;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    border: 2px solid rgba(255, 0, 77, 0.3);
    transition: border-color 0.3s ease;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Icon */
.whychooseus-box img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

/* Heading with Hover Effect */
.whychooseus-box h3 {
    color: white;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
    padding-bottom: 10px; /* Space for the underline */
}

/* Underline Effect */
.underline {
    width: 0%;
    height: 3px;
    background: #ff004d;
    position: absolute;
    left: 50%;
    bottom: 0px; /* Ensure the line is under the text */
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

/* Hover Effect */
.whychooseus-box:hover h3 {
    color: #ff004d;
}

.whychooseus-box:hover .underline {
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .whychooseus-icons {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.skills-section {
    margin-top: 4rem;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Title with Decorative Line */
.skills-title {
    color: white;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2.5rem;
    justify-content: center;
}

/* Circle-Line-Circle Decoration */
.decor-line {
    display: flex;
    align-items: center;
    position: relative;
    width: 50px;
    height: 2px;
    background: #666;
    margin-left: 0.9rem;
}

.decor-line::before,
.decor-line::after {
    content: "";
    width: 6px;
    height: 6px;
    background: #2C2C2C;
    border-radius: 50%;
    position: absolute;
}

.decor-line::before {
    left: -8px;
}

.decor-line::after {
    right: -8px;
}

/* Individual Skill Item */
.skill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    font-family: "poppins",sans-serif;
}
.skill span {
    font-family: poppins, sans-serif;
    margin-bottom: 5px; /* Reduced space between text and bar */
}

/* Progress Bar */
.progress-bar {
    width: 80%;
    height: 8px;
    background: #222;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-left: 10px;
}

/* Progress Fill */
.progress {
    height: 100%;
    background: #ff004d;
    border-radius: 5px;
    width: 0%;
    transition: width 1.2s ease-in-out;
    position: relative;
}

/* Position percentage at the end of the progress bar */
.skill-percentage {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 0.9rem;
}

/* Specific Progress Percentages */
.html {
    width: 35%;
}

.css {
    width: 50%;
}

.js {
    width: 15%;
}

/* ===================================================
   7. FREE CONSULTATION
   =================================================== */

.freeconsulting-section {
    background-color: #F7F7F7;
    color: black;
}
.freeconsulting {
  justify-content: center;
  display: flex;
  text-align: center;
  flex-direction: column;
}
.freeconsulting h2 {
  margin-top: 2rem;
  font-size: 2.3rem;
  color: #171717;
}
.freeconsulting p {
    max-width: 500px;
    height: auto;
     margin: 0 auto; /* Centers the paragraph horizontally */
     font-size: 1.3rem;
     margin-top: 1.5rem;
}
.freeconsulting button {
     margin-top: 1rem;
      font-family: "poppins",sans-serif;
    padding: 12px 20px;
    background-color: #F91229;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    margin-bottom: 4rem;

}
.freeconsulting button:hover {
 
   background-color: #E41212;
}

/* ===================================================
   7. FOOTER
   =================================================== */

/* Footer General Styling */
.footer {
    background-color: #121212;
    color: #ffffff;
    padding: 40px 20px; /* Increased padding for spacing */
    font-family: Arial, sans-serif;
}

/* Footer Container - Desktop */
.footer-container {
    display: flex;
    justify-content: space-between; /* Spread content out */
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

/* Branding Section */
.footer-brand {
    text-align: center;
    max-width: 300px;
}

.footer-logo {
    width: 120px; 
}

.footer-heading {
    font-size: 1.8rem;
    margin-top: 10px;
}

/* Footer Sections */
.footer-links, .footer-contact, .footer-social {
    text-align: left;
    max-width: 250px;
}


.footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family: "Cabin", sans-serif;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 0.9rem;
    font-family: "Poppins", sans-serif;
}

.footer-links a:hover {
    color: #F91229;
}

.footer-social {
    display: flex;
    flex-direction: column; /* Keep heading above */
    align-items: center; /* Centers everything */
    text-align: center;
}

.social-icons {
    display: flex;
    flex-direction: row; /* Icons in a row */
    gap: 15px; /* Space between icons */
    justify-content: center; /* Ensure horizontal centering */
}


.footer-social .social-icons {
    display: flex;
    flex-direction: row; /* Ensures icons are in a row */
    gap: 15px; /* Space between icons */
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease-in-out;
}


.footer-social img {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.footer-social a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 8px #C32B4F;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.2);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.footer-social a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #F91229;
    border-radius: 50%;
    top: 100%;
    left: 0;
    transition: top 0.6s ease-in-out;
}

.footer-social a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.footer-social a:hover::after {
    top: 0;
}


/* Footer Bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding: 15px 0;
    margin-top: 30px;
}
.footer-bottom a {
    transition: 0.3s ease color;
}
.footer-bottom a:hover {
    color: #F91229;

}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Wrap links on smaller screens */
    gap: 10px;
}

.footer-bottom-links a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s ease color;
}



/* ============================
   8. Responsive Design
   ============================ */

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center; /* Center align sections */
        text-align: center;
    }

    .footer-links, .footer-contact, .footer-social {
        max-width: 100%; /* Full width on smaller screens */
        margin-bottom: 20px;
        text-align: center; /* Ensure all sections are centered */
    }

    .footer-contact ul {
        padding: 0; /* Remove any unintended padding */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center items */
    }
}

/* Mobile Phones (Max 480px) */
@media (max-width: 480px) {
    .footer {
        padding: 30px 15px; /* Smaller padding */
    }

    .footer-heading {
        font-size: 1.5rem; /* Reduce font size */
    }

    .social-icons {
        flex-wrap: wrap; /* Allow wrapping */
        gap: 10px; /* Reduce gap */
    }

    .social-icons a {
        width: 35px;
        height: 35px;
    }

    .social-icons img {
        width: 18px;
        height: 18px;
    }
}
