@import url("font.css");
@import "./header.css";
@import "./buttons.css";
@import "./home.css";
@import "./footer.css";
@import "./about.css";
@import "./contact.css";
@import "./blog.css";
@import "./blog-detail.css";
@import "./service.css";
@import "./service-detail.css";
@import "./careers.css";
@import "./portfolio.css";
@import "./single-project.css";

:root {
  --font-family:'Space Grotesk', sans-serif;
  --font-family-1:'Sora', sans-serif;
  --font-family-2:'Manrope', sans-serif;
  --primary: #c52026;
  --black: #000;
  --white: #fff;
  --secondary: #262626;
  --text: #454545;
  --light-gray: #f5f5f5;
  --soft-gray: #dedede;
  --border-1: rgba(0, 0, 0, 0.1);
  --border-2: rgba(0, 0, 0, 0.2);

  --font-size-xll: 122px;
  --font-size-xl: 98px;
  --font-size-x: 64px;
  --font-size-lg: 54px;
  --font-size-lg_1: 44px;
  --font-size-md_1: 34px;
  --font-size-md: 28px;
  --font-size-sm: 22px;
  --font-size-xm_1: 20px;
  --font-size-xm: 18px;

  --font-weight-800: 800;
  --font-weight-700: 700;
  --font-weight-600: 600;
  --font-weight-500: 500;
  --font-weight-400: 400;

  --line-height: 25px;
  
  --margin:100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:var( --font-family) 
}

.container {
  width: 100%;
  max-width: 1680px;
  margin: 0px auto;
}








.dropdown-menu {
     background: #f5f5f5 !important;
}






.custom-dropdown .dropdown-menu {
    display: none;
     background: #f5f5f5 !important;
}
/* CUSTOM DROPDOWN CONTAINER */
.custom-dropdown {
    position: relative;
    width: 100%;
margin-top:10px;
}

/* DROPDOWN INPUT LOOK */
.dropdown-toggle {
    min-height: 52px;
    padding: 12px 44px 12px 14px;
    border: 1px solid var(--border-1);
    outline: none;
    background-color: var(--light-gray);
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
        min-height: calc(1.4em * 2 + 24px);
}

.dropdown-menu li:hover {
     background: #fff !important;
    font-weight: 500;
}
.dropdown-menu li.selected {
     background: #fff !important;
    font-weight: 500;
}




.dropdown-toggle p{
display: flex;
justify-content:center;
align-items: center;
}
/* Placeholder text */
.dropdown-placeholder {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
      font-size: var(--font-size-xm) !important;
    line-height: var(--line-height) !important;
    font-weight: var(--font-weight-400) !important;
    color: #454545 !important;
}


input::placeholder {
  font-size: var(--font-size-xm) !important;
    line-height: var(--line-height) !important;
    font-weight: var(--font-weight-400) !important;
    color: #454545 !important;
}


/* Arrow */
.dropdown-arrow {
    position: absolute;
    right: 14px;
    font-size:30px;
    color: #6b7280;
    pointer-events: none;
}

/* DROPDOWN MENU */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* OPTIONS */
.dropdown-menu li {
    padding: 12px 14px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.dropdown-menu li:hover {
    background: #f3f4f6;
}

/* Selected state */
.dropdown-menu li.selected {
    background: #d78083;
    font-weight: 500;
}

/* TEXTAREA (Your Message) */


/* MOBILE SAFETY */
@media (max-width: 640px) {
    .dropdown-toggle {
        min-height: 48px;
        font-size: 14px;
    }
}
/* Fix selected text overflow */
.dropdown-placeholder {
    display: block;
    max-width: 100%;
    white-space: pre-line;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure dropdown toggle never expands */
.dropdown-toggle {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Fix dropdown menu overflow */
.dropdown-menu {
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Fix long service names inside list */
.dropdown-menu li {
    white-space: normal;
    word-break: break-word;
}

/* Prevent container overflow */
.custom-dropdown {
    max-width: 100%;
}
.dropdown-toggle {
    min-height: calc(1.4em * 2 + 24px); /* room for 2 lines */
    align-items: center;
}


.dropdown-arrow {
  display: flex;
    transition: transform 0.2s ease;
    align-items: center;
}
.dropdown-arrow.open {
  transform: rotate(180deg);
}

