/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Roboto",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2c4964; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #5846f9; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.8);  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #5846f9; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}
:root {
  --primary-dark: #1f1f1f;      /* قريب من الأسود */
  --primary-blue: #2f5faa;      /* أزرق هادي مناسب للّوجو */
  --secondary-gray: #6c6c6c;
  --light-gray: #f5f5f5;
  --border-color: #eaeaea;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f8ff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #202020;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #5846f9;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #7c25ba;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Match your header height */
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--primary-dark);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}



/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: white;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2); /* خط فاصل هادي */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* ظل خفيف */
  color: #000000 !important;
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 80px;
  margin-right: 8px;
  filter: none;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: #000 !important;
  font-size: 14px;
  padding: 7px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  border: 2px solid color-mix(in srgb, #000, transparent 50%);
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: black;
  border-color: black;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: white;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
  color: #000 !important;
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }


.navmenu li,
.navmenu ul,
.navmenu > ul > li > a {
  color: #000 !important;
}

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #000 !important;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: black;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
  
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: black;
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: #fff !important;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    color: #000 !important;
    background-color: color-mix(in srgb, var(--accent-color), transparent) !important;
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu a {
  color: #000 !important;
}

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background: var(--background-color);
  padding: 50px 0 40px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  color: black;
}

/* أعلى الفوتر */
.footer .footer-top {
  padding-bottom: 20px;
}

/* About */
.footer-about .logo img {
  max-height: 50px;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.7;
}

/* Social Icons */
.footer .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: 0.3s ease;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.footer .social-links a:hover {
  background: var(--default-color);
  color: white;
  border-color: var(--default-color);
}

/* Titles */
.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

/* Lists */
.footer-links ul {
  padding: 0;
  list-style: none;
}

.footer-links ul li {
  padding: 8px 0;
}

.footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  transition: 0.3s;
}

.footer-links ul a:hover {
  color: var(--default-color);
  padding-left: 3px;
}

/* Contact Text */
.footer-contact p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* Bottom Bar */
.footer .copyright {
  padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: #584f4f;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, #000, transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background: linear-gradient(45deg, var(--background-color) 0%, color-mix(in srgb, var(--surface-color), transparent 10%) 100%), url("../img/page-title-bg.jpg") top center no-repeat;
  background-size: cover;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 77px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  color: var(--primary-dark);

}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* Container Section */
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 160px 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #f8f9fa; /* لون احتياطي */
}

/* الكلاس الجديد للباك جراوند */
.abstract-wave-bg {
  background-image: url('../img/Gemini_Generated_Image_4is9of4is9of4is9 (1).png'); /* استبدل المسار هنا */
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

/* Overlay - شفافية خفيفة جداً لتحسين القراءة */
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
}

.hero .container {
  max-width: 1000px;
  position: relative;
  z-index: 2; /* ليكون فوق الـ Overlay */
}

/* Partner Tag - تم استخدام لون الشعار الأزرق */
.partner-tag {
  display: inline-block;
  background: #2b5998; /* لون أزرق مطابق للشعار */
  color: #fff;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(43, 89, 152, 0.2);
}

/* Title */
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a; /* أسود صريح */
  margin-bottom: 20px;
}

.hero h1 span {
  color: #2b5998; /* الأزرق الخاص بـ TPM */
}

/* Description */
.hero-description {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.8;
  margin: 0 auto 40px;
  max-width: 800px;
}

/* Buttons */
.btn-primary-custom {
  display: inline-block;
  background-color: #2b5998;
  color: #fff;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 15px;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary-custom:hover {
  background-color: #1a1a1a; /* يتحول للأسود عند الهوفر */
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline-custom {
  display: inline-block;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  padding: 12px 40px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: #1a1a1a;
  color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
  .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 767px) {
  .hero { padding: 130px 20px 100px; }
  .btn-primary-custom, .btn-outline-custom {
    margin: 10px 0;
    display: block; /* في الموبايل الأزرار فوق بعض */
    width: 100%;
  }
}
/*--------------------------------------------------------------
# About Us – IT Corporate Style
--------------------------------------------------------------*/
.about {
  padding: 90px 0;
  background-color: #ffffff;
}

/* Badge */
.about-badge {
  display: inline-block;
  background: rgb(36,36,36);
  color: #fff;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Main Title */
.about h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 22px;
  color: #111;
}

/* Sub Headings */
.about h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 35px;
  margin-bottom: 15px;
  color: #111;
}

/* Paragraphs */
.about p {
  font-size: 15.5px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 16px;
}

/* Services List */
.about-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.about-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #444;
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgb(36,36,36);
  font-size: 16px;
}

/* Right Card */
.about-card {
  background: #fff;
  padding: 42px 36px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  height: 100%;
  transition: 0.35s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Card Lists */
.about-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}

.about-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: #555;
  margin-bottom: 9px;
}

.about-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgb(36,36,36);
  font-weight: bold;
}

/* Responsive */
@media (max-width: 991px) {
  .about {
    padding: 70px 0;
  }

  .about h2 {
    font-size: 26px;
  }

  .about-card {
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .about p {
    font-size: 15px;
  }
}

/* ----- -----------------------
Section Title
 --------------------------- */
 .after-sales {
  padding: 60px 0;
  background-color: #f9f9f9;
}

 .after-sales h2:after {
  content: none;
}

.after-sales .section-title h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
}

.after-sales .carousel-inner {
  display: block; 
}

.carousel-img {
  max-width: 90%;    
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  margin: 0 auto;    
}

/* ====== Carousel Controls ====== */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;    
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(0,0,0,0.8);
}



/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
/* ============================
   Clean Modern Services Section
============================ */
.services h2 {
  color: #000;
}

.services h2:after {
  content: none;
}

/* Card */
.services .service-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 28px 24px;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.35s ease;
  height: 100%;
  cursor: default; /* مهم */
}

/* Icon */
.services .service-item .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.35s ease;
}

.services .service-item .icon i {
  font-size: 28px;
  color: rgb(36, 36, 36);
}

/* Text */
.services .service-item .title {
  font-size: 18px;
  font-weight: 600;
  color: rgb(36, 36, 36);
  margin-bottom: 8px;
}

.services .service-item .description {
  font-size: 14.5px;
  color: #555;
  line-height: 1.6;
}

/* Hover (Dark without click) */
.services .service-item:hover {
  background: #111;
  border-color: #111;
  transform: translateY(-6px);
}

.services .service-item:hover .title,
.services .service-item:hover .description {
  color: #fff;
}

.services .service-item:hover .icon {
  background: #fff;
}

.services .service-item:hover .icon i {
  color: #111;
}




/* ============================================== Warranty secyion ================================================ */
.warranty {
  padding: 80px 0;
}

.warranty-card {
  background: white;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}



.warranty-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
}

.warranty-card:hover .warranty-icon {
  background-color: rgb(68, 57, 57);
}

.warranty-icon i {
  font-size: 40px;
  color: rgb(36, 36, 36);
}

.warranty-card:hover .warranty-icon i {
  color: white;
}

.warranty-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 32px;
  border-radius: 30px;
  background-color: rgb(36, 36, 36);
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.warranty-btn:hover {
  background-color: rgb(68, 57, 57);
}
/* Warranty buttons wrapper */
.warranty-actions {
  margin-top: 25apx;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Secondary button */
.warranty-btn-outline {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 32px;
  border-radius: 30px;
  border: 2px solid rgb(36, 36, 36);
  background: transparent;
  color: rgb(36, 36, 36);
  text-decoration: none;
  transition: 0.3s;
}

.warranty-btn-outline:hover {
  background-color: rgb(36, 36, 36);
  color: white;
}

/*===================================================authorized secyion=======================================================*/

.authorized {
  background-color: white;
  padding: 70px 0;
}

.authorized-content {
  padding: 40px 20px;
}

.authorized-content i {
  font-size: 48px;
  color: rgb(36, 36, 36);
  margin-bottom: 15px;
}


.authorized-content h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.authorized-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
}

.authorized-btn {
  padding: 10px 28px;
  border-radius: 25px;
  background-color: rgb(36, 36, 36);
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.authorized-btn:hover {
  background-color: rgb(68, 57, 57);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
/* ===== Partners Section ===== */
#partners {
  padding: 60px 0;
  background-color: #f9f9f9;
}

#partners .section-title h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #111;
}

/* ===== Each Partner Group ===== */
.partner-group {
  margin-bottom: 60px;
}

.partner-group .partner-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #111;
}

/* ===== Portfolio Items ===== */
.portfolio-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-item .portfolio-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.portfolio-item img {
  max-width: 100%;
  max-height: 80px; /* نفس الارتفاع لجميع الشركات */
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect */
.portfolio-item:hover .portfolio-content {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.portfolio-item img:hover {
  transform: scale(1.1);
}

/* ===== Responsive adjustments ===== */
@media (max-width: 992px) {
  .portfolio-item img {
    max-height: 70px;
  }
}

@media (max-width: 768px) {
  .portfolio-item img {
    max-height: 60px;
  }
}

@media (max-width: 576px) {
  .portfolio-item img {
    max-height: 50px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.branch-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.4s ease;
  height: 100%;
}

.branch-card:hover {
  background-color: rgb(36,36,36);
  color: white;
}

.branch-card h3 {
  font-weight: 700;
  margin-bottom: 20px;
}

.branch-card h3 i {
  margin-right: 8px;
}

.branch-card .info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 14px;
}

.branch-card .info-item i {
  font-size: 18px;
  color: rgb(36,36,36);
}

.branch-card:hover .info-item i {
  color: white;
}

.branch-card a {
  color: inherit;
  text-decoration: none;
}

.map-wrapper iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 12px;
  margin-top: 15px;
}


