/*

Wacov - Elegant HTML Template
Author : aStylers
Author URL : https://themeforest.net/user/astylers

*/

/*

Table of Content:
- fonts
- general
- button
- navbar
- header title
- about us
- home intro
- section title
- services
- our works
- features
- latest blog
- blog
- blog single
- pagination
- contact
- testimonial
- footer
- responsive

*/

/* fonts */
@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900");

/* general */
body {
    background: #fff;
    color: #242424;
    font-size: 15px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    visibility: hidden;
}

.fakeLoader {
  visibility: visible;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111;
}

a {
    color: #111;
}

a:hover {
    color: #2b87c8;
    text-decoration: none;
    transition: .5s ease-out;
}

ul {
    padding: 0;
    margin: 0;
}

ul li {
    list-style-type: none;
}

p {
    line-height: 26px;
}

.bg-grey {
    background: #f5f3fd;
}

.body-header {
    padding-bottom: 30px;
}

/* button */
.button {
    background: #ce1f2c;
    padding: 12px 30px;
    font-weight: 500;
    font-size: 15px;
    border-radius: 2px;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 22px;
    display: inline-block;
    border: 0;
}

.button:hover {
    color: #fff;
}

.hb-fill-right:before {
    background: #fbac18 !important;
    color: #fff !important;
}

/* loader */
.spinner4 {
    background: #ce1f2c;
}

/* navbar */
.navbar {
    padding: 10px 0;
    transition: .5s ease-out;
    background: transparent;
}

.navbar .container-fluid {
    padding: 0 45px;
}

.navbar span.call {
    font-size: 17px;
    margin-left: 12px;
    margin-top: 5px;
    color: #fff;
}

.navbar .navbar-brand {
    color: #fff;
    font-size: 32px;
    padding: 15px 0;
    font-weight: 700;
}

.navbar .navbar-nav li {
    padding: 0 15px;
}

.navbar .navbar-nav li a {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.navbar .navbar-nav li a:last-child {
    padding-right: 0 !important;
}

.navbar .navbar-nav li a:hover {
    color: #ee3325;
    text-decoration: none;
    transition: .5s ease-out;
}

.navbar .navbar-nav li:last-child {
    padding-right: 0;
}

.navbar .navbar-toggler {
    padding-right: 0;
}

.navbar .navbar-toggler i {
    color: #fff;
}

.navbar-fixed {
    background: #fff;
    transition: .5s ease-out;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0);
}

.navbar-fixed .navbar-brand {
    color: #222;
}

.navbar-fixed .navbar-nav li a {
    color: #222;
}

.navbar-fixed .navbar-toggler i {
    color: #222;
}

.navbar-transparent {
    background: transparent !important;
}

/* haader title */
.header-title {
    background: linear-gradient(rgba(255, 194, 57, 0.9), rgba(255, 194, 57, 0.9)), url("../images/header.jpg");
    background-position-x: 0%, 0%;
    background-position-y: 0%, 0%;
    background-attachment: scroll, scroll;
    background-size: auto, auto;
    background-position: center;
    background-size: cover;
    padding: 220px 0 110px;
    color: #fff;
}

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

.header-title .title-section p span {
    background: #fff;
}

.header-title h3 {
    color: #fff;
    font-size: 42px;
    font-weight: 600;
}

/* about us */
.about {
    padding-bottom: 125px;
}

.about .col {
    background: #2b87c8;
}

.about img {
    height: 100%;
    background: #766f5f;
}

.about .content {
    padding: 40px;
    color: #fdfdfd;
    background: #2b87c8;
}

.about .content h3 {
    color: #fff;
    font-weight: 600;
    font-size: 44px;
}

.about .content span {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 22px;
    display: block;
}

.about .content span i {
    margin-right: 18px;
}

.about .button {
    background: #fbac18;
    margin-top: 8px;
}

.about .button:hover {
    color: #333;
}

.about .hb-fill-right:before {
    background: #fff !important;
    color: #333 !important;
}

.about img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will maintain aspect ratio and crop if needed */
    object-position: center; /* This will keep the image centered when cropping */
}

/* home intro */
.wrapper-intro {
    background: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.20)), url("../images/bg-intro.jpg");
    background-position-x: 0%, 0%;
    background-position-y: 0%, 0%;
    background-attachment: scroll, scroll;
    background-size: auto, auto;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

.home-intro {
    position: relative;
    padding: 180px 0 120px !important;
}

.home-intro .content {
    z-index: 999;
    position: relative;
}

.home-intro .content .button-intro {
    border: 2px solid #fbac18;
    background: transparent;
    padding: 10px 30px;
}

.home-intro .content .button-intro:hover {
    border-color: #fff;
}

.home-intro .content .button {
    background: #2b87c8;
}

.home-intro .content-text {
    padding: 80px 0 80px 50px;
}

.home-intro .content:before {
    width: 350px;
    background: #ce1f2c;
    height: 100%;
    border: 8px solid #ffc239;
    position: absolute;
    content: "";
    z-index: -1;
}

.home-intro .content:after {
    width: 350px;
    background: #ce1f2c;
    height: calc(100% - 100px);
    position: absolute;
    content: "";
    z-index: -1;
    top: 50px;
    left: 12px;
}

.home-intro .button:hover {
    color: #333;
}

.home-intro .hb-fill-right:before {
    background: #fff !important;
    color: #333 !important;
}

.home-intro:before {
    width: 47%;
    background: #ce1f2c;
    height: 100%;
    position: absolute;
    content: "";
    z-index: 999;
    top: 0;
}

.home-intro h5 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 32px;
    font-weight: 600;
}

.home-intro h2 {
    color: #fff;
    font-size: 62px;
    font-weight: 700;
    margin: 25px 0;
    line-height: 54px;
    letter-spacing: 1px;
}

.home-intro h6 {
    color: #fff;
    line-height: 35px;
    font-size: 17px;
    margin-bottom: 15px;
    width: 60%;
}

.home-intro img {
    height: auto;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}

/* section */
.section {
    padding: 100px 0 120px;
}

.section-no-title {
    padding: 120px 0 120px;
}

.section-top {
    padding-top: 125px;
}

.title-section {
    margin-bottom: 50px;
}

.title-section h3 {
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.title-section h3 span {
    color: #ce1f2c;
}

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

.title-section-left h3 {
    font-size: 40px;
    font-weight: 600;
}

.title-section-left h3 span {
    color: #ce1f2c;
}

.title-section p {
    margin: auto;
    line-height: 30px;
    font-size: 20px;
    font-weight: 500;
}

.title-section p span {
    width: 50px;
    height: 3px;
    background: #ce1f2c;
    display: block;
    display: inline-block;
    position: relative;
    top: -5px;
    margin-right: 20px;
}

.title-section-two {
    text-align: left;
}

.title-section-two p {
    width: 100%;
}

/* services */
.services {
    padding: 100px 0 90px;
}

.services .content {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #fbac18;
    position: relative;
    transition: 0.6s ease-out;
    right: 100%;
    left: 0;
    z-index: 99;
}

.services .content h5 {
    font-weight: 600;
}

.services .content:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    background: #ce1f2c;
    height: 100%;
    transition-duration: 0.6s;
    transition-timing-function: ease-out;
    color: #fff;
    z-index: -9;
}

.services .content:hover:after {
    right: 0;
}

.services .content:hover i {
    color: #fff;
}

.services .content:hover h5 {
    color: #fff;
}

.services .content:hover p {
    color: #fff;
}

.services .content i {
    font-size: 54px;
    color: #2b87c8;
}

.services .content h5 {
    margin: 25px 0 14px;
}

/* our work */
.our-work .content img {
    width: 100%;
    position: relative;
}

.our-work .content .caption {
    position: absolute;
    background-color: rgba(255, 194, 57, 0.8);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: all .3s ease;
    padding-top: 40%;
    text-align: center;
    width: 80%;
    height: 100%;
    margin: auto;
}

.our-work .content .caption h6 {
    color: #222;
}

.our-work .content .caption p {
    color: #222;
}

.our-work .content .caption p:hover {
    color: #222;
}

.our-work .content a:hover .caption {
    opacity: 1;
    width: 100%;
    transition: all .3s ease;
}

/* pricing */
.pricing .content {
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
    text-align: center;
    background: #fff;
}

.pricing .content h3 {
    font-size: 38px;
    font-weight: 600;
    margin: 10px 0 22px;
    color: #ce1f2c !important;
}

.pricing .content li {
    margin: 15px 0;
}

.pricing .content li i {
    margin-right: 20px;
}

.pricing .content-color {
    border: 2px solid #ce1f2c;
    padding: 0 !important;
}

.pricing .content-color .head {
    background: #ce1f2c;
    padding: 30px;
    border-radius: 0 0 50px 50px;
    padding-bottom: 1px;
}

.pricing .content-color .head h5 {
    color: #fff;
}

.pricing .content-color .head h3 {
    color: #fff !important;
}

.pricing .content-color .button {
    margin-bottom: 30px;
}

/* features */
.features .content {
    background: #fff;
    border-radius: 6px;
    padding-bottom: 40px;
    position: relative;
}

.features .content i {
    font-size: 30px;
    color: #fff;
    margin-top: 16px;
}

.features .content h5 {
    margin: 0 0 9px;
}

.features .content .icon {
    float: left;
    margin-right: 30px;
    text-align: center;
    width: 65px;
    height: 65px;
    background: #2b87c8;
    border-radius: 5px;
    line-height: 65px;
}

.features .content .content-text {
    overflow: hidden;
}

.features .content.pb-0 .button {
    margin-top: 60px;  /* Add more space above the button */
    display: inline-block;
}

.features .col-md-4 img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    object-position: center;
}

.features .container .row {
    --column-gap: 60px;  /* Define gap size */
    margin-right: calc(-1 * var(--column-gap) / 2);
    margin-left: calc(-1 * var(--column-gap) / 2);
}

.features .container .row > .col {
    padding-right: calc(var(--column-gap) / 2);
    padding-left: calc(var(--column-gap) / 2);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .features .col-md-8,
    .features .col-md-4 {
        margin-bottom: 30px;
        padding: 0 15px;  /* Add some side padding */
    }
    
    .features .col-md-4 img {
        max-height: none;  /* Remove max-height restriction */
        width: 100%;
        height: auto;
    }

    .features .container .row {
        --column-gap: 30px;  /* Reduce gap on mobile */
    }
    
    .features .col-md-4 {
        margin-top: 40px;  /* Add vertical spacing when stacked */
    }
}

/* latest blog */
.latest-blog h5 {
    font-weight: 600;
}

.latest-blog .content {
    box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.latest-blog .content-text {
    padding: 30px;
    border-bottom: 4px solid #2b87c8;
}

.latest-blog .content-text span {
    font-size: 15px;
    color: #777;
    margin-bottom: 15px;
    display: block;
}

.latest-blog .content-text h5 {
    line-height: 30px;
}

.latest-blog .content-text a:hover {
    color: #ce1f2c;
    transition: .5s ease-out;
}

/* blog */
.blog .content {
    border-radius: 6px;
    margin-bottom: 30px;
    box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.blog .content img {
    border-radius: 3px 3px 0 0;
}

.blog .content-text {
    padding: 30px;
}

.blog .content-text span {
    font-size: 15px;
    color: #777;
    margin-bottom: 15px;
    display: block;
}

.blog .content-text h5 {
    line-height: 30px !important;
    font-size: 20px !important;
}

.blog .content-text a:hover {
    color: #2b87c8;
    transition: .5s ease-out;
}

/* pagination */
.pagination ul li {
    display: inline-block;
    margin: 10px;
}

.pagination ul li a {
    height: 50px;
    width: 50px;
    line-height: 48px;
    text-align: center;
    display: block;
    box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    border-radius: 6px;
    background: #fff;
}

.pagination ul li .active {
    background: #ce1f2c;
    color: #fff;
    border-color: #ce1f2c;
}

/* blog single */
.blog-single .content h5 {
    font-size: 24px;
    line-height: 34px;
}

.blog-single .content li {
    display: inline-block;
    margin-right: 20px;
}

.blog-single .content li i {
    margin-right: 10px;
}

.blog-single .content .quote {
    background: #eee;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 22px;
}

.blog-single .comments {
    border-top: 2px solid #ddd;
    padding-top: 30px;
    margin-top: 35px;
}

.blog-single .comments h5 {
    margin-bottom: 25px;
}

.blog-single .button {
    margin-top: 0;
}

.blog-single .search {
    margin-bottom: 16px;
}

.blog-single .search input {
    width: calc(100% - 65px);
    height: 52px;
}

.blog-single .search .button {
    float: right;
    padding-right: 15px;
    padding-left: 15px;
    font-size: 22px;
    height: 52px;
    line-height: 26px;
    width: 52px;
}

.blog-single .sidebar-link h5 {
    border-bottom: 2px solid #ddd;
    padding-bottom: 14px;
    margin-bottom: 22px;
}

.blog-single .sidebar-link li {
    margin-bottom: 16px;
}

.blog-single .sidebar-link li a {
    font-size: 15px;
}

.blog-single .categories {
    margin-top: 40px;
}

.blog-single .img-blog-single {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* contact */
.contact .content-office {
    border-left: 4px solid #2b87c8;
    padding-left: 30px;
}

.contact .content-office h5 {
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: 600;
}

.contact .content-office li {
    margin-bottom: 16px;
    font-size: 16px;
}

.contact form input,
.contact form textarea {
    border: 2px solid #ddd;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    width: 100%;
    color: #aaa;
}

.contact .button {
    margin-top: 0;
}

.contact li i {
    margin-right: 15px;
    color: #555;
}

.contact .map {
    position: relative;
    top: -5px;
}

.contact .map i {
    float: left;
    margin-right: 23px;
    margin-top: 10px;
}

.contact .map p {
    overflow: hidden;
    line-height: 30px;
}

::placeholder {
    color: #aaa;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #aaa;
}

::-ms-input-placeholder {
    color: #aaa;
}

form input,
form textarea {
    border: 2px solid #ddd;
    padding: 15px 20px;
    margin-bottom: 30px;
    width: 100%;
    color: #aaa;
}

/* testimonial */
.testimonial .carousel-item {
    text-align: center;
    padding: 0 20%;
}

.testimonial .carousel-item span i {
    font-size: 50px;
    margin-bottom: 35px;
}

.testimonial .carousel-item h5 {
    margin-top: 25px;
    font-weight: 600;
}

.testimonial .carousel-control-next,
.testimonial .carousel-control-prev {
    width: auto;
}

.testimonial a i {
    font-size: 56px;
    color: #000;
    z-index: 999;
    opacity: 1;
}

/* footer */
footer {
    text-align: center;
    background: #111;
    color: #bbb;
}

footer p {
    width: 60%;
    margin: auto;
}

footer ul {
    margin: 40px 0;
}

footer ul li {
    display: inline-block;
    margin: 0 8px;
}

footer ul li i {
    color: #fff;
    height: 40px;
    width: 40px;
    background: #ce1f2c;
    border-radius: 50%;
    padding-top: 7px;
    border: 2px solid transparent;
}

footer ul li i:hover {
    border-color: #ffc239;
    color: #fff;
}

footer ul li i.fa-x-twitter {
    background: #fff;
    color: #000;
    font-size: 150%;
}
footer ul li i.fa-instagram {
    background: #F56040;
    font-size: 150%;
}
footer ul li i.fa-telegram {
    background: #24A1DE;
    font-size: 150%;
}
footer ul li i.fa-vk {
    background: #0077FF;
    font-size: 150%;
}
footer ul li i.fa-user-alt {
    background: #E72541;
    font-size: 150%;
}

footer h6 {
    color: #fff;
    font-size: 35px;
    font-weight: 700;
    position: relative;
    margin-bottom: 28px;
}

/*responsive*/
@media (max-width:991px) {
    .home-intro h2 {
        line-height: 80px;
    }

    .home-intro .content::before {
        width: 245px;
    }

    .home-intro .content::after {
        width: 245px;
    }

    .about .content h3 {
        font-size: 38px;
    }

}

@media (max-width:980px) {
    .navbar .navbar-nav li {
        padding: 0 10px;
    }

    .home-intro h2 {
        line-height: 80px;
    }

    .features .content:last-child {
        margin-bottom: 30px;
    }

    .services .content {
        padding: 20px;
    }

    .pricing .content {
        padding: 20px;
    }

    .latest-blog .content {
        margin-bottom: 0;
    }

    .latest-blod .content.r-980 {
        margin-bottom: 0;
    }

    .about .col-md-6 {
        max-width: 100%;
        flex: 100%;
    }

    .features .col-md-6 {
        max-width: 100%;
        flex: 100%;
    }

}

@media (max-width:767px) {
    .container {
        padding: 0 14px !important;
    }

    .navbar .navbar-toggler i {
        margin-right: 0;
    }

    .navbar .navbar-nav {
        background: #0caed4;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .navbar-fixed .navbar-nav {
        background: #fff;
    }

    .navbar-fixed .navbar-nav li {
        padding: 0 4px !important;
    }

    .navbar .navbar-nav li {
        padding: 0 32px;
    }

    .home-intro .content::before {
        width: 168px;
    }

    .home-intro .content::after {
        width: 168px;
    }

    .pricing .content {
        margin-bottom: 30px;
    }

    .pricing .last-content {
        margin-bottom: 0;
    }

    .latest-blog .content {
        margin-bottom: 30px;
    }

    .latest-blog .content.r-980 {
        margin-bottom: 0;
    }

    .blog-single .search {
        margin-top: 30px;
    }

    .blog-single .sidebar-link li:last-child {
        margin-bottom: 0;
    }

    .contact .content-office {
        margin-bottom: 30px;
    }

    .contact form {
        margin-bottom: 75px;
    }

    .contact iframe {
        height: 400px !important;
    }

    footer p {
        width: 80%;
    }

}

@media (max-width:640px) {
    .services .content {
        margin-bottom: 30px;
    }

    .services .col-sm-12:last-child .content {
        margin-bottom: 0;
    }

    .pricing .content {
        margin-bottom: 30px;
    }

    .pricing .col-sm-12:last-child .content {
        margin-bottom: 0;
    }

    .latest-blod .content.r-980 {
        margin-bottom: 0;
    }

    .blog-single .search {
        margin-top: 30px;
    }

    footer .col-sm-6 {
        margin-top: 50px;
    }

}

@media (max-width:420px) {
    .home-intro .content::before {
        width: 115px;
    }

    .home-intro .content::after {
        width: 115px;
    }

}

@media (max-width:480px) {
    .home-intro .content-text {
        padding-left: 30px;
    }

    .home-intro h2 {
        font-size: 42px;
        line-height: 60px;
    }

    .title-section h3 {
        font-size: 45px;
    }

    .about .content-image {
        padding-bottom: 0;
    }

    .about .bg-style {
        background: transparent;
    }

    .latest-blod .content.r-980 {
        margin-bottom: 0;
    }

    .testimonial a i {
        font-size: 30px;
    }

    .testimonial .carousel-item {
        padding: 0 15%;
    }

    footer .col-12 {
        margin-top: 30px;
    }

}

@media (max-width:360px) {
    .home-intro h2 {
        font-size: 36px;
        line-height: 48px;
    }

    .latest-blod .content.r-980 {
        margin-bottom: 0;
    }

}

:root {
    --logo-size: 120px;
    --logo-path: url('images/logo1.png');
}

.navbar-brand img {
    height: var(--logo-size);
    display: block;
}
:root {
    --logo-size: 120px;
    --logo-path: url('images/logo2.png');
}

.navbar-brand img {
    height: var(--logo-size);
    display: block;
}
:root {
    --logo-size: 120px;
    --logo-path: url('images/logo3.png');
}

.navbar-brand img {
    height: var(--logo-size);
    display: block;
}

.comment-box {
  background-color: #f8f8f8; /* Example: Use a light background */
  border: 0px solid #ccc; /* Example: Add a border */
  padding: 15px; /* Example: Add some padding */
  margin-bottom: 10px; /* Example: Add spacing between boxes */
  border-radius: 0px; /* Example: Round the corners */

}

.timestamp {
  font-size: 0.6em;
  color: #888;
  background-color: #f8f8f8;
  text-align: right;

}

/* Basic styling for comments and replies */
.comment-item {
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 0px;
}

.reply-item {
  padding: 2px;
  border: 0px solid #ccc;
}

.comment-box, .reply-box {
  margin-bottom: 10px;
}

.timestamp {
  font-size: 0.6em;
  color: #888;
  margin-top: 1px;
}

/* Styling for reply forms */
.reply-form {
  margin-top: 10px;
}

.reply-form input, .reply-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 0px;
}


/* Styling for reply forms */

.reply-form {
  margin-top: 10px;
  display: none; /* Initially hide the reply form */
}


/* Styling for reply link */

.reply-link {
  cursor: pointer;
  margin-left: 10px; /* Add some spacing */
  font-size: 1.5em;
  color: #007bff; /* Make it blue */
}

.no-comments {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #666;
}

#comments-list li {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #555;

}

/* Basic styling for the reply box */
.reply-box {
  margin-bottom: 6px;
  margin-left: 20px;
  padding: 10px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #f8f8f8; /* Light gray background */
}

.reply-box strong { /* Style the reply author's name */
  font-weight: bold;
  color: #555;
}

.reply-box .reply { /* Style the reply text */
  margin-top: 5px;
  color: #555;
}

.reply-box .timestamp { /* Style the timestamp */
  font-size: 0.6em;
  color: #888;
  margin-top: 5px;
}

/* Media container styles */
.media-container {
    background-color: #1c1c1c;
    background-image: url("../images/bg-intro.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.media-container blockquote {
    margin: 0 !important;
    background: transparent !important;
}

.media-container iframe {
    margin: 0 !important;
}

.media-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Text container styles */
.text-container {
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.text-content-wrapper {
    flex: 1;
}

.tweet-header {
    margin-bottom: 20px;
}

/* Modal header styles */
.author-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 4px;
}

.author-text {
    display: flex;
    flex-direction: column;
}

.modal .profile-image {
    width: 48px;
    height: 48px;
}

.author-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

.author-username {
    color: #536471;
    font-size: 0.9rem;
}

.tweet-date {
    color: #536471;
    font-size: 0.9rem;
    margin: 12px 0 4px 0;
    text-align: left !important;
}

.tweet-text {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0 0 15px 0;
    text-align: left !important;
}

.x-link-button {
    display: inline-block;
    padding: 10px 24px;
    background-color: #1DA1F2;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    margin-top: auto;
    font-weight: bold;
    transition: background-color 0.2s;
    align-self: flex-start;
}

.x-link-button:hover {
    background-color: #1a8cd8;
}

/* Tweet wrapper styles */
.x-post-wrapper {
    position: relative;
    display: inline-block;
    max-width: 550px;
    background: transparent !important;
}

.x-post-wrapper .twitter-tweet {
    margin: 0 !important; /* Remove default margins */
    background: transparent !important; /* Make background transparent */
}

.x-post-wrapper iframe {
    background: transparent !important; /* Make iframe background transparent */
}

.tweet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    cursor: pointer;
}

.tweet-container {
    border-radius: 6px;
    margin-bottom: 30px;
    background: transparent;
}

.tweet-grid .col {
    background: transparent;
}

/* Responsive styles */
@media (max-width: 768px) {
    .text-container {
        padding: 20px;
    }
    
    .tweet-date {
        margin: 10px 0 4px 0;
    }
}
    .text-container {
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    .text-content-wrapper {
        flex: 1;
        padding-bottom: 10px;
    }

    .x-link-button {
        display: inline-block;
        width: fit-content;
        padding: 10px 24px;
        background-color: #1DA1F2;
        color: white;
        text-decoration: none;
        border-radius: 20px;
        margin-top: 10px;
        font-weight: bold;
        transition: background-color 0.2s;
    }

    .x-link-button:hover {
        background-color: #1a8cd8;
        color: white;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 2.5vh auto;
    }

    .media-container {
        min-height: 250px;
    }

    .text-container {
        padding: 15px;
    }
}

/* ==========================================================================
   Tweet Components
   ========================================================================== */

   /* Tweet Components
-------------------------------------------------- */

/* Tweet Grid */
.tweet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin: 0;
}

/* Tweet Container */
.tweet-container {
    background: #18202a;
    border: 1px solid #2f3336;
    border-radius: 12px;
    overflow: hidden;
    transition: background-color 0.2s ease;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
}

.tweet-container:hover {
    background: #1d2733;
}

/* Hide original tweet elements */
.x-post-wrapper blockquote.twitter-tweet,
.x-post-wrapper iframe {
    display: none !important;
}

/* Tweet Preview */
.tweet-preview {
    padding: 16px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    background: #18202a;
}

/* Tweet Header */
.tweet-preview-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
}

.tweet-preview-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
}

/* Profile Image */
.tweet-preview .profile-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Text Elements */
.tweet-preview-name {
    color: #e7e9ea;
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    text-align: left !important;
    display: block;
    margin-bottom: 2px;
}

.tweet-preview-username,
.tweet-preview-date {
    color: #71767b;
    font-size: 14px;
    line-height: 16px;
    text-align: left !important;
    display: block;
}

/* Tweet Content */
.tweet-preview-content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    font-size: 15px;
    min-height: calc(1.5em * 2);
    margin-bottom: 12px;
}

.tweet-preview-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #2f3336;
    order: 3;
    margin-bottom: 6px;
}

.tweet-preview-date {
    color: #71767b;
    font-size: 13px;
    line-height: 16px;
    text-align: left !important;
    order: 4;
    margin-top: 4px;
}

.tweet-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Preview */
.video-preview {
    position: relative;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(35, 154, 255, 0.7);
    border-radius: 50%;
    border:4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button-overlay::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    padding-top: 100px;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    max-height: calc(90vh - 100px);
}

.close-button {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    color: #333;
    z-index: 10;
}

/* Modal profile image specific styles */
.modal .profile-image,
.modal .author-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

/* Updated author section styles */
.author-info-wrapper {
    display: flex;
    align-items: flex-start;
    padding: 4px;
    margin: -4px;
}

.author-click-area {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.author-click-area:hover {
    opacity: 0.8;
}

.profile-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-text {
    display: flex;
    flex-direction: column;
    text-align: left !important;
}

.author-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    color: #000;
    text-align: left !important;
}

.author-username {
    color: #536471;
    font-size: 0.9rem;
    text-align: left !important;
}

/* Modal Media Container */
.media-container {
    background-color: #1c1c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.media-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Modal Text Container */
.text-container {
    padding: 30px;
    overflow-y: auto;
}

.tweet-header {
    margin-bottom: 20px;
}

.author-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}


.author-text {
    display: flex;
    flex-direction: column;
    text-align: left !important;
}

.author-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    text-align: left !important;
}

.author-username {
    color: #536471;
    font-size: 0.9rem;
    text-align: left !important;
}

.tweet-date {
    color: #536471;
    font-size: 0.9rem;
    text-align: left !important;
}

.tweet-text {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 15px 0;
    text-align: left !important;
    padding-bottom: 30px;
}

.x-link-button {
    display: inline-block;
    padding: 10px 24px;
    background-color: #1DA1F2;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    margin-top: auto;
    font-weight: bold;
    transition: background-color 0.2s;
}

.x-link-button:hover {
    background-color: #1a8cd8;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .tweet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        margin: 5vh auto;
    }
    
    .media-container {
        min-height: 300px;
    }
    
    .text-container {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .tweet-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Loader Styles */
.modal-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-out;
    border-radius: 15px;
}

.modal-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-loader img {
    width: 120px;
    height: auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Latest blog tweet preview styles */
.latest-blog .col-md-4 {
    margin-bottom: 30px;  /* Add spacing between columns when they stack */
}

.latest-blog .content {
    height: 100%;
    background: #18202a;
    border: 1px solid #2f3336;
    border-radius: 12px;
    overflow: hidden;
    transition: background-color 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .latest-blog .col-md-4 {
        margin-bottom: 40px;  /* Increase spacing for mobile */
    }
    
    .latest-blog .col-md-4:last-child {
        margin-bottom: 0;  /* Remove margin from last column */
    }
}

.latest-blog .tweet-preview {
    padding: 16px;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.latest-blog .tweet-preview-content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    font-size: 15px;
    margin-bottom: 16px;
    height: calc(1.5em * 2);
    min-height: calc(1.5em * 2);
}

.latest-blog .tweet-preview-image {
    width: 100%;
    height: 200px;  /* This is the main height control */
    border-radius: 12px;
    overflow: hidden;
    margin-top: auto;
    margin-bottom: 6px;
    background-color: #2f3336;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.latest-blog .tweet-preview-image img,
.latest-blog .video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Play button overlay */
.latest-blog .play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(35, 154, 255, 0.7);
    border-radius: 50%;
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.latest-blog .play-button-overlay::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
}

.latest-blog .tweet-preview-date {
    color: #71767b;
    font-size: 13px;
    margin-top: 4px;
}

.tweet-video-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.tweet-video-container .twitter-video {
    margin: 0 !important;
    width: 100% !important;
}

.tweet-video-container iframe {
    width: 100% !important;
    max-width: 550px !important;
    margin: 0 auto !important;
}

/* Media container styles */
.media-container {
    background-color: #1c1c1c;
    background-image: url("../images/bg-intro.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.media-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Classroom Section Styles */

.classroom .title-section {
    margin-bottom: 50px;  /* Space between title and content */
}

.classroom-content {
    display: flex;
    gap: 60px; /* Increased from 30px to 60px */
}

.classroom-image {
    width: 33.33%;  /* Same as col-sm-4 */
}

.classroom-image img {
    width: 100%;
    height: auto;
    display: block;
}

.classroom-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.classroom-text h5 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 20px;
}

.classroom-text .text-content {
    flex: 1;
}

.classroom-text p {
    margin-bottom: 15px;
}

.classroom-text .bullet-list {
    padding-left: 40px;
    margin: 10px 0 20px 0;
}

.classroom-text .bullet-list li {
    list-style-type: disc;
    margin-bottom: 8px;
}

/* Button styles to match original width */
.classroom-text .button {
    width: fit-content;
    align-self: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .classroom-content {
        flex-direction: column;
    }
    
    .classroom-image {
        width: 100%;
        margin-bottom: 30px;
    }
}

.class-img {
  padding-bottom: 40px;
}

.class-text {
  margin-right: 30px;
  margin-left: 30px;
}

.bullet-list {
    padding-left: 40px;
    margin: 10px 0;
}

.bullet-list li {
    list-style-type: disc;
    margin-bottom: 8px;
}

.profi-widget {
  padding-bottom: 50px;
  padding-top: 20px;
}

.footer-logo {
  padding-bottom: 20px;
}

/* Cookie Banner */
.cookie-banner {
    max-width: 24rem;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.cookie-content {
    position: relative;
    padding: 1.5rem;
    text-align: center;
    border-radius: 1.5rem;
    border: 1px solid rgb(220, 240, 255);
    background-color: rgba(220, 240, 255, 1);
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

.cookie-icon {
    height: 3.5rem;
    width: 3.5rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgb(17, 24, 39);
    background-color: rgb(17, 24, 39);
    color: white;
}

.cookie-icon i {
    font-size: 2.25rem;    /* Adjust from 4xl (2.25rem) */
}

.cookie-text {
    font-size: 1rem;
    font-weight: 500;
    color: rgb(107, 114, 128);
    margin: 1.75rem 0;
}

.accept-button {
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    background-color: rgb(55, 65, 81);
    border: none;
    cursor: pointer;
    transition: all 500ms;
}

.accept-button:hover {
    background-color: rgb(3, 7, 18);
}