.premium-gallery {
    padding: 100px 0;
    background: #f0f4f8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff;
}

.image-box {
    width: 100%;
    height: 100%;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Cam Efektli Overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 123, 255, 0.4);
    backdrop-filter: blur(8px); /* Cam efekti */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.zoom-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.overlay-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Hover Hareketleri */
.gallery-card:hover .image-box img {
    transform: scale(1.1);
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}
/*** Spinner Start ***/
/* Footer Genel Ayarları */
.events-gallery {
    padding: 60px 0;
    background-color: #fcfcfc;
}

.container1 {
    max-width: 1000px; /* Sütunların çok yayılmaması için ideal genişlik */
    margin: 0 auto;
    padding: 0 20px;
}

.page-header1 {
    text-align: center;
    margin-bottom: 50px;
}

.divider {
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 15px auto;
}

/* Grid Düzeni: Yan yana 2 adet */
/* Kartın genel yapısını merkeze odakla */
.event-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column; /* İçerikleri dikeyde hizala */
    align-items: center;    /* Tüm içeriği yatayda ortala */
}

/* Görselin olduğu kutuyu ortala */
.card-img {
    width: 70%;
    height: 180;
    overflow: hidden;
    display: flex;         /* İçindeki resmi ortalamak için flex yapıyoruz */
    justify-content: center; /* Yatayda ortala */
    align-items: center;    /* Dikeyde ortala */
    background-color: #f8f9fa; /* Resim yüklenene kadar boşluk belli olsun */
}

.card-img img {
    /* Eğer resim küçükse bile kutuyu doldurması veya ortada kalması için */
    min-width: 40%; 
    min-height: 40%;
    object-fit: cover; /* Resmi kutuya yayar ve merkezler */
    display: block;
}

/* Metin alanını ortala */
.card-text {
    padding: 25px;
    text-align: center; /* Yazıları merkeze çek */
    width: 100%;
}

.card-text h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.card-text p {
    font-size: 16px;
    color: #5d6d7e;
    margin: 0 auto; /* Paragrafın kendisini de ortala */
    max-width: 90%; /* Yazı çok yayılmasın */
}

/* Mobil Uyumluluk: Telefondan bakınca tek sütun olsun */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    .card-img {
        height: 200px;
    }
}
.main-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 70px 0 20px;
    margin-top: 50px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Sola daha fazla genişlik verdik */
    gap: 50px;
    padding: 0 20px;
}

.footer-box h3 {
    color: #ffcc00; /* LEGO Sarısı vurgu */
    margin-bottom: 25px;
    font-size: 20px;
    position: relative;
}

.footer-box h3::after {
    content: '';
    width: 30px;
    height: 2px;
    background: #ffcc00;
    position: absolute;
    bottom: -8px;
    left: 0;
}

/* Logo Stili */
.footer-logo { font-size: 28px; margin-bottom: 20px; }
.footer-logo span { color: #007bff; }

.footer-box p {
    font-size: 14px;
    line-height: 1.8;
    color: #bbb;
}

/* Linkler */
.footer-box ul { list-style: none; padding: 0; }
.footer-box ul li { margin-bottom: 12px; }
.footer-box ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}
.footer-box ul li a:hover { color: #fff; padding-left: 5px; }

/* İletişim Maddeleri */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.contact-item .icon { margin-right: 15px; font-size: 18px; }

/* Sosyal Medya */
.social-links { margin-top: 20px; }
.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #333;
    color: #fff;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    font-size: 12px;
    transition: 0.3s;
}
.social-links a:hover { background: #007bff; }

/* Alt Telif Yazısı */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 50px;
    padding-top: 20px;
    font-size: 13px;
    color: #777;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-box h3::after { left: 50%; transform: translateX(-50%); }
    .contact-item { justify-content: center; }
}
.stats-bar {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0;
    margin: 40px 0;
}
.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.stat-item .num {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #ffcc00; /* LEGO Sarısı */
}

/* Araştırma Alanları */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 28px; color: #333; }
.section-header .line { width: 60px; height: 4px; background: #007bff; margin: 10px auto; }

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.res-card {
    background: #fdfdfd;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: 0.3s;
}
.res-card:hover { border-color: #007bff; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.res-card .icon { font-size: 30px; margin-bottom: 15px; display: block; }

/* Felsefe Kutusu */
.philosophy-quote {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    border-radius: 40px;
    margin: 40px auto;
    width: 90%;
}
.quote-box h3 { font-size: 26px; margin-bottom: 20px; font-weight: 400; line-height: 1.4; }
.about-section {
    padding: 80px 0;
    background-color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Kurucu Bloğu */
.founder-block {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.founder-image {
    flex: 1;
    position: relative;
}

.founder-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 0px #f0f4f8; /* Arka dekoratif kutu */
}

.founder-title {
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    position: absolute;
    bottom: -20px;
    right: -20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.founder-title h3 { margin: 0; font-size: 18px; }
.founder-title span { font-size: 14px; opacity: 0.8; }

.founder-text { flex: 1.5; }
.founder-text h2 { font-size: 32px; color: #2c3e50; margin-bottom: 20px; }
.founder-text p { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 15px; }

blockquote {
    border-left: 4px solid #007bff;
    padding-left: 20px;
    font-style: italic;
    color: #007bff;
    font-size: 18px;
    margin-top: 25px;
}

/* Değerler Bölümü */
.brand-philosophy {
    border-top: 1px solid #eee;
    padding-top: 60px;
}
.programs-container {
    padding: 60px 5%;
    background-color: #f4f7f6;
    text-align: center;
}

.page-title { font-size: 32px; color: #1a1a1a; margin-bottom: 15px; }
.page-subtitle { color: #666; margin-bottom: 50px; font-size: 18px; max-width: 700px; margin-left: auto; margin-right: auto; }

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Genişliği biraz artırdık */
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.program-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    border-bottom: 8px solid #eee;
    display: flex;
    flex-direction: column;
    text-align: left; /* Metinleri sola yasladık, daha profesyonel durur */
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-icon { font-size: 45px; margin-bottom: 20px; text-align: center; }
.program-card h3 { font-size: 24px; color: #333; margin-bottom: 12px; }

.age-tag {
    background: #eef2f7;
    color: #007bff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 15px;
}

.description {
    font-size: 15px;
    color: #555;
    line-height: 1.7; /* Okunabilirlik için satır aralığı */
    margin-top: 10px;
}

/* Renk Kodları */
.essential { border-color: #FFCC00; }
.wedo { border-color: #00AEEF; }
.prime { border-color: #D4145A; }
.fll-explorer { border-color: #F7941E; }
.fll-challenge { border-color: #00A651; }
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/


/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 600;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/


/*** 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-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: 0;
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.btn-border-radius {
    border-radius: 25% 10%;
}

.img-border-radius {
    border-radius: 50% 20% / 10% 40%;
}

.title-border-radius {
    border-radius: 10% 30%;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .top-info {
    font-size: medium;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
    background: var(--bs-secondary) !important;
}

.topbar .top-link a:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: 'Fredoka', sans-serif;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/


/*** Hero Header ***/
.hero-header {
    position: relative;
    overflow: hidden;
    background: #000; /* Yüklenene kadar siyah zemin */
    min-height: 1vh; /* Yüksekliği ihtiyacına göre ayarla */
}

/* Tüm arka plan katmanları için ortak özellikler */
.header-bg {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; /* Hepsi başlangıçta gizli */
    z-index: 0;
    /* 32 saniyelik toplam döngü (Her resim 8sn) */
    animation: imageFade 32s linear infinite;
}

/* Her katmana kendi resmini veriyoruz */
.header-bg:nth-child(1) {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/1.jpg');
    animation-delay: 0s;
}
.header-bg:nth-child(2) {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/6-1.jpg');
    animation-delay: 8s;
}
.header-bg:nth-child(3) {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/gordion.jpeg');
    animation-delay: 16s;
}
.header-bg:nth-child(4) {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/tzv.jpg');
    animation-delay: 24s;
}

/* Yumuşak Geçiş Animasyonu */
@keyframes imageFade {
    0% { opacity: 0; }
    5% { opacity: 1; }   /* %5'lik sürede yavaşça belirir */
    25% { opacity: 1; }  /* %25'e kadar (8 saniye) ekranda kalır */
    30% { opacity: 0; }  /* %30'a kadar yavaşça kaybolur */
    100% { opacity: 0; }
}

/* İçeriğin (Yazıların) resimlerin üstünde durmasını sağlar */
.hero-header .container {
    position: relative;
    z-index: 2;
}
/*** Hero Header ***/


/*** About Start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url(../img/9.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.video.border {
    border-radius: 50% 20% / 10% 40%;
}

.about {
    background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.8)), url(../img/background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** About End ***/


/*** service Start ***/
.service {
    background: linear-gradient(rgba(186, 225, 255, 1), rgba(173, 216, 230, 1));
}

.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    width: 100%;
    height: 100%;
    border-radius: 50% 20% / 10% 40%;
    transition: 0.5s;
    position: relative;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    background: transparent;
    border-radius: 50% 20% / 10% 40%;
    transition: .5s;
}

.service-item:hover {
    border: 1px solid var(--bs-secondary) !important;
}

.service-item:hover .service-content::after {
    background: var(--bs-secondary);
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.service-item .service-content .service-content-inner {
    position: relative;
    z-index: 2;
}

.service-item .service-content-inner i,
.service-item .service-content-inner p,
.service-item .service-content-inner a.h4 {
    transition: 0.5s;
}

.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p {
    color: var(--bs-white) !important;
}
.service-item:hover .service-content-inner a.h4 {
    color: var(--bs-primary);
}

.service-item:hover .service-content-inner a.btn-primary {
    background: var(--bs-white) !important;
    color: var(--bs-primary) !important;
}

.service-item .service-content-inner a.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}
/*** Service End ***/


/*** Programs Start ***/
.program {
    background: linear-gradient(rgba(135, 206, 235, 0.1) rgba(135, 206, 235, 0.2));
}

.program .program-item .program-img .program-rate {
    position: absolute;
    width: 100px; 
    top: -20px; 
    left: 50%; 
    margin-left: -50px; 
    border-radius: 10% / 50%;
}

.program .program-item .program-text {
    padding-top: 150px; 
    margin-top: -125px;
}

.program .program-item .program-img img,
.program .program-item .program-teacher img,
.program .program-item:hover .program-text-inner a.h4 {
    transition: 0.5s;
}

.program .program-item:hover .program-img img,
.program .program-item:hover .program-teacher img {
    transform: scale(1.2);
}

.program .program-item:hover .program-text-inner a.h4 {
    color: var(--bs-primary) !important;
}
/*** Programs End ***/


/*** Events Start ***/
.events .events-item {
    width: 100%;
    height: 100%;
    border-radius: 30%;
    position: relative;
}

.events .events-item .events-inner .events-rate {
    position: absolute;
    width: 120px; 
    top: -20px; 
    left: 50%; 
    margin-left: -60px; 
    border-radius: 10% / 50%;
}

.events .events-item .events-inner .events-img .event-overlay {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.events .events-item .events-inner .events-img:hover .event-overlay {
    opacity: 1;
}

.events .events-item .events-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px;
    transition: 0.5s;
}

.events .events-item:hover .events-img::after {
    height: 100%;
    opacity: 1;
}

.events .events-item .events-text a.h4,
.events .events-item .events-img img {
    transition: 0.5s;
}

.events .events-item:hover .events-text a.h4 {
    color: var(--bs-primary) !important;
}

.events .events-item:hover .events-img img {
    transform: scale(1.3);
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: var(--bs-primary);
}
/*** Blog End ***/



/*** Team Start ***/
.team .team-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.team .team-item .team-icon {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.team .team-item .team-icon a.share-link {
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-icon a.share-link {
    opacity: 1;
}

.team .team-item .team-content,
.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    background: var(--bs-primary) !important;
    border-radius: 0 0 10px 10px;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content p {
    color: var(--bs-dark) !important;
}
/*** Team end ***/


/*** testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
    
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-secondary);
}
/*** testimonial End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 1)), url(../img/background.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer .footer-galary-img img {
    width: 100%;
    border-style: dotted; 
    border-color: var(--bs-primary);
    transition: 0.5s;
}

.footer .footer-galary-img img:hover {
    transform: scale(1.2);
}

.footer-item a.text-body:hover {
    color: var(--bs-secondary) !important;
}
/*** Footer End ***/