
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: fixed !important;
        background: var(--bs-white);
        z-index: 9999;
        top: 0;
        width: 100%;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
    
    .navbar-light {
        z-index: 99999 !important;
        position: fixed !important;
        width: 100% !important;
        top: 0 !important;
        background: var(--bs-white) !important;
    }
    
    body {
        padding-top: 70px;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Mobil cihazlarda navbar her zaman görünür */
    .navbar-brand {
        display: block !important;
        visibility: visible !important;
    }
    
    .navbar-light .navbar-brand {
        display: block !important;
        visibility: visible !important;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 9999;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    body {
        padding-top: 0 !important;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
        z-index: 9999;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel-item,
.header-carousel-item img {
        height: 100vh;
        min-height: 700px;
        position: relative;
        z-index: 1;
}





.header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 140px;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
    z-index: 1;
}

@media (max-width: 991px) {
    .header-carousel-item .carousel-caption {
        padding-top: 100px;
    }
    
    .header-carousel-item,
    .header-carousel-item img {
        height: 100vh;
        min-height: 580px;
    }
}

@media (max-width: 767px) {
    .header-carousel-item .carousel-caption {
        padding-top: 80px;
    }
    
    .header-carousel-item,
    .header-carousel-item img {
        height: 100vh;
        min-height: 500px;
    }
    
    .header-carousel-item .carousel-caption h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .header-carousel-item .carousel-caption p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .header-carousel-item .carousel-caption .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .header-carousel-item .carousel-caption {
        padding-top: 70px;
    }
    
    .header-carousel-item,
    .header-carousel-item img {
        height: 100vh;
        min-height: 450px;
    }
    
    .header-carousel-item .carousel-caption h1 {
        font-size: 1.7rem;
        line-height: 1.4;
    }
    
    .header-carousel-item .carousel-caption p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .header-carousel-item .carousel-caption .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
        margin: 3px;
    }
}


.header-carousel-item img {
    transition: 0.3s;
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/5.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}
/*** Service End ***/


/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}
/*** Features End ***/

/*** Offer Start ***/
.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 10px;
    display: flex;
    background: var(--bs-white);
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--bs-white);
}
/*** Offer End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 208, 132, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}
/*** FAQs End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.team .team-item .team-img {
    width: 100%; 
    height: 100%;
    aspect-ratio: 1/1;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px; 
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item  .testimonial-quote-left {
    position: absolute;
    width: 60px; 
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item  .testimonial-quote-right {
    position: absolute;
    width: 60px; 
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-secondary);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}

.copyright.py-4 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.copyright .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.copyright .border-bottom {
    font-weight: 100 !important;
    text-decoration: none !important;
}

.copyright .text-body {
    font-weight: 100 !important;
}

.copyright a {
    font-weight: 100 !important;
}

.copyright * {
    font-weight: 100 !important;
}

/*** copyright end ***/

/*** Custom Fixes for Better Alignment and Sizing ***/

/* Fix feature items height consistency */
.feature .feature-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

.feature .feature-item .feature-icon {
    flex-shrink: 0;
}

.feature .feature-item h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.feature .feature-item p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Fix service items height consistency */
.service .service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-img {
    flex-shrink: 0;
    height: 250px;
    overflow: hidden;
}

.service .service-item .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service .service-item .rounded-bottom {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.service .service-item .rounded-bottom h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.service .service-item .rounded-bottom p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Fix service content cards */
.service-content {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Fix team items alignment - keep original hover effect */
.team .team-item {
    text-align: center;
}

/* Only fix image size - keep original positioning system */

.team .team-item .team-img img {
    /* Keep original system but ensure image fits properly */
    width: 200px !important;
    height: 200px !important;
    object-fit: cover;
    border-radius: 50% !important;
}

.team .team-item .team-title h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team .team-item .team-title p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.team .team-item .team-icon {
    gap: 0.5rem;
}

/* Fix about section image containers */
.bg-primary.rounded {
    padding: 0;
}

.bg-primary.rounded img,
.bg-primary.rounded video {
    border-radius: 10px;
}

/* Fix offer section alignment */
.offer-section .nav {
    margin-bottom: 0;
}

.offer-section .nav a.accordion-link {
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
}

.offer-section .tab-content {
    margin-top: 0;
}

.offer-section .tab-content .tab-pane {
    padding: 2rem 0;
}

/* Fix gallery items consistency */
.bg-white.rounded.shadow {
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.bg-white.rounded.shadow img {
    height: 200px;
    object-fit: cover;
}

.bg-white.rounded.shadow .p-3 {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product gallery - 5 products per row */
.bg-light .row.g-4 .col-lg-2.col-xl-2 {
    flex: 0 0 20%;
    max-width: 20%;
}



/* Product gallery responsive adjustments */
@media (max-width: 991px) {
    .bg-light .row.g-4 .col-lg-2 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .bg-light .row.g-4 .col-lg-2 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 575px) {
    .bg-light .row.g-4 .col-lg-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Fix row and column spacing */
.row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.row.g-5 {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 3rem;
}

/* Fix text alignment in sections */
.text-center.mx-auto.pb-5 {
    max-width: 800px;
}

.text-center.mx-auto.pb-5 h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.text-center.mx-auto.pb-5 h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-center.mx-auto.pb-5 p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

/* Fix button alignment */
.btn.btn-primary.rounded-pill {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 25px;
}

/* Fix responsive behavior */
@media (max-width: 767px) {
    .feature .feature-item {
        min-height: 300px;
        margin-bottom: 1rem;
    }
    
    .service .service-item {
        margin-bottom: 1rem;
    }
    
    .text-center.mx-auto.pb-5 h1 {
        font-size: 2rem;
    }
}

/* Team cards responsive adjustments */
@media (max-width: 1200px) {
    .team .team-item {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .team .team-item .team-img {
        width: 162px !important;
        height: 162px !important;
        margin: 0 auto !important;
        position: relative !important;
        transform: none !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .team .team-item .team-img img {
        width: 145px !important;
        height: 145px !important;
    }
    
    .team .team-item .team-title {
        position: relative !important;
        z-index: 10 !important;
        padding: 15px 0 !important;
    }
    
    .team .team-item .team-icon {
        position: relative !important;
        z-index: 10 !important;
    }
}

@media (max-width: 991px) {
    .team .team-item {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .team .team-item .team-img {
        width: 144px !important;
        height: 144px !important;
        margin: 0 auto !important;
        position: relative !important;
        transform: none !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .team .team-item .team-img img {
        width: 125px !important;
        height: 125px !important;
    }
    
    .team .team-item .team-title {
        position: relative !important;
        z-index: 10 !important;
        padding: 15px 0 !important;
    }
    
    .team .team-item .team-icon {
        position: relative !important;
        z-index: 10 !important;
    }
}

@media (max-width: 768px) {
    .team .team-item {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .team .team-item .team-img {
        width: 162px !important;
        height: 162px !important;
        margin: 0 auto !important;
        position: relative !important;
        transform: none !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .team .team-item .team-img img {
        width: 145px !important;
        height: 145px !important;
    }
    
    .team .team-item .team-title {
        position: relative !important;
        z-index: 10 !important;
        padding: 15px 0 !important;
    }
    
    .team .team-item .team-icon {
        position: relative !important;
        z-index: 10 !important;
    }
}

@media (max-width: 575px) {
    .team .team-item {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .team .team-item .team-img {
        width: 180px !important;
        height: 180px !important;
        margin: 0 auto !important;
        position: relative !important;
        transform: none !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .team .team-item .team-img img {
        width: 160px !important;
        height: 160px !important;
    }
    
    .team .team-item .team-title {
        position: relative !important;
        z-index: 10 !important;
        padding: 15px 0 !important;
    }
    
    .team .team-item .team-icon {
        position: relative !important;
        z-index: 10 !important;
    }
    
    .text-center.mx-auto.pb-5 h1 {
        font-size: 1.75rem;
    }
}

/* Fix container padding */
.container-fluid.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.container.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Fix card hover effects */
.feature .feature-item:hover,
.service .service-item:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Team items use original hover system - don't override */

/* Fix video responsive behavior */
video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Company video styling - 1080x1920 boyutları (9:16 aspect ratio) */
#companyVideo {
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 9/16;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    background: transparent;
    display: block;
}

/* Video container ayarları - 1080x1920 için (%40 küçültülmüş) */
.bg-primary.rounded.position-relative.overflow-hidden {
    aspect-ratio: 9/16;
    width: 100%;
    height: auto;
    max-width: 346px;
    margin: 20px auto;
    overflow: visible !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
}

/* Responsive video ayarları */
@media (max-width: 991px) {
    .bg-primary.rounded.position-relative.overflow-hidden {
        max-width: 380px;
    }
}

@media (max-width: 767px) {
    .bg-primary.rounded.position-relative.overflow-hidden {
        max-width: 320px;
    }
}







/* Remove any unwanted outlines or borders */
.feature-item,
.service-item,
.team-item {
    border: none !important;
    outline: none !important;
}

/* Fix section spacing */
.container-fluid {
    margin-bottom: 0;
}

.container-fluid + .container-fluid {
    margin-top: 0;
}

/* Fix any Bootstrap grid issues */
.row {
    margin-left: 0;
    margin-right: 0;
}

.col-md-6,
.col-lg-3,
.col-lg-4,
.col-lg-6,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Fix any alignment issues with flexbox */
.d-flex {
    align-items: center;
}

.d-flex.flex-column {
    align-items: stretch;
}

/* Fix image aspect ratios */
.service-item img,
.bg-white.rounded.shadow img {
    object-fit: cover;
    width: 100%;
}

/* Fix button consistency */
.btn {
    text-decoration: none;
    border: none;
    outline: none;
}

.btn:focus,
.btn:active {
    box-shadow: none;
    outline: none;
}

/* Fix wow animation delays */
.wow {
    visibility: hidden;
}

.wow.fadeInUp,
.wow.fadeInLeft,
.wow.fadeInRight {
    animation-fill-mode: both;
}

/* Fix any Bootstrap utility class conflicts */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

/* Fix responsive grid behavior */
@media (max-width: 991px) {
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7 {
        margin-bottom: 1.5rem;
    }
    
    .row.g-4 > * {
        margin-bottom: 1.5rem;
    }
    
    .row.g-5 > * {
        margin-bottom: 2rem;
    }
}

/* Fix container max-width issues */
.container {
    max-width: 1200px;
}

/* Fix any overflow issues */
.overflow-hidden {
    overflow: hidden;
}

/* Fix rounded corners consistency */
.rounded {
    border-radius: 0.5rem !important;
}

.rounded-top {
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
}

.rounded-bottom {
    border-bottom-left-radius: 0.5rem !important;
    border-bottom-right-radius: 0.5rem !important;
}

/* Logo responsive styles */
.navbar-brand img {
    height: 50px;
    transition: all 0.3s ease;
}

.footer-item img {
    height: 60px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 42px !important;
        width: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .footer-item img {
        height: 45px;
    }
    
    /* Topbar'ı mobilde gizle */
    .topbar {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 38px !important;
        width: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}



/* FAQ page image size adjustment */
.faq-section .bg-primary {
    max-height: 438px;
    overflow: hidden;
}

.faq-section .bg-primary img {
    width: 100%;
    height: 438px;
    object-fit: cover;
    object-position: center;
}

/* Certificate document image adjustment - Full visibility */
.container-fluid.bg-light .bg-white.rounded.p-4.shadow img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    max-height: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}



@media (max-width: 991px) {
    .faq-section .bg-primary {
        max-height: 350px;
        margin-top: 2rem;
    }
    
    .faq-section .bg-primary img {
        height: 350px;
    }
    
    /* Certificate image tablet adjustments */
    .container-fluid.bg-light .bg-white.rounded.p-4.shadow {
        margin-top: 2rem;
    }

}

@media (max-width: 767px) {
    .faq-section .bg-primary {
        max-height: 275px;
        margin-top: 1rem;
    }
    
    .faq-section .bg-primary img {
        height: 275px;
    }
    
    /* Certificate image mobile adjustments */
    .container-fluid.bg-light .bg-white.rounded.p-4.shadow {
        margin-top: 1rem;
        padding: 1rem !important;
    }

}





