
html {
    scroll-behavior: smooth;
}
.carousel-inner img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.carousel-inner {
    overflow: hidden;
}

body {
    overflow-x: hidden; /* حذف اسکرول افقی کل سایت */
}
/*............---------  ...........*/
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5); /* پس‌زمینه نیمه‌شفاف */
    padding: 15px;
    border-radius: 10px;
}

.carousel-caption h3, .carousel-caption p {
    color: white !important;  /* اطمینان از اینکه متن سفید باشه */
}

/*............Menu and Slide show............*/

.m-navbr{
	background-color: transparent;
	border:none;
	height: 60px;
}

.m-dark{
	background-color: #121212;
}

.navbar-dark{
	transition: all 2s ease;
	background-color: #121212;
	height: 60px;
}

.navbar-light{
	transition: all 2s ease;
	background-color: transparent;
	height: 60px;
}

#menu ul li a{
	color: #fff;
}

#menu ul{
	margin-top: 10px;
}

#menu ul li{
	margin-left: 20px;
}

#menu ul li a:hover{
	transition: all 2s ease;
	color: dodgerblue;
}

.carousel-caption h1{
	font-size: 5vw;
}



/*............Services...........*/
.m-serve{
	padding: 70px 10px;
}

.box .fa{
	font-size: 40px;
	padding:20px 5px;
	color: dodgerblue;
}

.media-heading h2{
	color: #555;
}

.m-serve .row{
	margin-top: 50px;
}

.content{
	margin-top: -50px;
	text-align: center;
}

.content h5{
	color: dodgerblue;
}

.media{
	padding: 50px;
	border:1px solid #888;
	box-sizing: border-box;
}


/*............services...........*/
.brand {
	padding: 70px 10px;
	margin-top: -70px;
  }
  
  .brand .b-header {
	text-align: center;
	padding: 20px;
  }
  
  .brand .b-img img {
	width: 100%;
	border-radius: 10px;
	transition: all 1.3s ease;
  }
  
  .b-img img:hover {
	cursor: pointer;
	transform: scale(1.4);
  }
  
  .b-img {
	overflow: hidden;
	margin-bottom: 15px;
  }
  
  .b-text {
	text-align: center;
	min-height: 280px; 
	margin-bottom: 30px;
  }
  
  .b-text h4 {
	color: #333;
	margin-bottom: 15px;
  }
  
  .b-text p {
	font-size: 14px;
	color: #555;
	margin-bottom: 15px;
  }
  
  .b-text .btn {
	padding: 10px 20px;
	border-radius: 15px;
	background-color: #007bff;
	color: white;
	text-decoration: none;
  }
  
  .b-text .btn:hover {
	background-color: #0056b3;
  }
  

/*.........uber uns...........*/

.culture {
	border-top: 3px solid dodgerblue;
	overflow: hidden;
}

.c-img{
	width: 350px;
	height: 300px;
	float: left;
	
}
.c-img img{
	width: 80%;
	height: 300px;
	float: right;
	
}

.c-text{
	padding: 100px 60px;
	margin-left: 50px;
}

.c-text h5{
	color: dodgerblue;
}

.p-text{
	text-align: center;
	margin-top: 100px;
	font-size: 16px;
	text-align: justify;
}

.footer {
    background-image: url(../../images/worldmap.png);
    background-color: #222;
    color: #ccc;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1000px;
    margin: auto;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons .icon {
    margin: 0 10px;
    color: #fff;
    font-size: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 36px;
    display: inline-block;
    transition: 0.3s;
}

.social-icons .icon:hover {
    background-color: #fff;
    color: #111;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    margin: 0 15px;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    margin: 20px 0;
    font-size: 14px;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 13px;
    color: #999;
}
.item .black{
	color: black;
}

/* Responsive design for mobile and tablets */
@media screen and (max-width: 768px) {
    .social-icons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
	
	.unsereservices{

		margin-top: -45px;
	}
	.first{
		margin-top:-100px;
	}
	.item .black{
		color: white;
	}
	.head2{
		text-align: center;
		margin-left: -20px;
		margin-top: -100px;
		font-size: large;
	}
	.culture{

		margin-top: -130px;
	}
	.c-img{
		margin-top: -80px;
	}
.cc{
	border-radius: 10px;
}
    .social-icons .icon {
        width: 45px;
        height: 45px;
        line-height: 43px;
        font-size: 28px;
    }
	.brand {
		margin-top: -3px;
	  }
	.btn5 {
		margin-top: -40px;

	} 
	.p-text{

		font-size: 14px;
		margin-top: -120px;
	}

	.footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links a {
        margin: 10px 0;
    }

    .footer-contact p {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .footer-contact {
        font-size: 12px;
    }
}
/* --- Section: Über HMV-Autohandel --- */
.culture {
  border-top: 3px solid dodgerblue;
  padding: 60px 20px;
}

.head2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

.p-text {
  text-align: justify;
  font-size: 16px;
  line-height: 1.8;
}

.cc {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
}

/* Mobile Specific Tweaks */
@media screen and (max-width: 768px) {
  .head2 {
    font-size: 22px;
    margin-top: 20px;
  }

  .p-text {
    font-size: 15px;
    margin-top: 20px;
  }

  .cc {
    margin-top: 10px;
  }
}
.culture {
  border-top: 3px solid dodgerblue;
  padding: 40px 20px 20px 20px; /* فضای بالا کاهش یافته */
}

.head2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  margin-top: 0 !important; /* حذف فاصله اضافه بالا */
}

.p-text {
  text-align: justify;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 0;
}

.cc {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
}

