/********** Template CSS **********/
/* Root Variables */
:root {
    --primary: #77aeee;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #1943ee;
}

/* General Styles */
body {
    font-family: 'Inter', 'Noto Sans Thai', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a73e8;
    text-align: center;
    margin-bottom: 2rem;
}

.fw-medium {
    font-weight: 600 !important;
}

/* 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;
}

/* Buttons */
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-primary {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #e65c00;
    transform: scale(1.05);
}

.btn-light {
    background-color: #fff;
    color: #1a73e8;
    border: 1px solid #1a73e8;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-light:hover {
    background-color: #e9ecef;
    transform: scale(1.05);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    transition: transform 0.3s ease;
}

.btn-sm-square:hover {
    transform: scale(1.1);
    background-color: #e9ecef;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-social {
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.btn-social:hover {
    transform: scale(1.2);
    background-color: #3b82f6;
    color: #fff;
}

/* Topbar */
.top-bar {
    background-color: #fdfdfd; /* จาก index.html */
    height: 75px;
    padding: 10px 4rem;
}

@media (max-width: 991px) {
    .top-bar .navbar-brand img {
        max-height: 50px;
    }

    .top-bar .navbar-brand span {
        font-size: 1rem;
    }

    .top-bar .btn-sm-square {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
}

@media (max-width: 576px) {
    .top-bar .navbar-brand span {
        font-size: 0.9rem;
    }
}

.navbar-brand img {
    max-height: 60px; /* เลือกใช้ค่า 60px จาก index.html เพื่อความสอดคล้อง */
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-brand span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
}

/* Navbar */
.nav-bar {
    position: relative;
    background-color: #fcfbfb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #1e3a8a;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #3b82f6;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-size: 0.95rem;
    padding: 8px 20px;
}

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }

    .navbar-collapse {
        background-color: #fff;
        border-top: 1px solid #e9ecef;
        padding: 10px 0;
        display: none !important;
    }

    .navbar-collapse.show {
        display: flex !important;
    }

    .navbar-collapse .bg-primary {
        margin-top: 10px;
        padding: 10px;
    }

    .navbar-collapse .bg-primary h5 {
        font-size: 1rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 8px 10px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Background Colors */
.bg-primary {
    background-color: #1a73e8 !important;
}

/* Header & Carousel */
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.header-carousel .owl-carousel-item .container {
    padding: 20px;
}

.header-carousel h5 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.header-carousel h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.header-carousel p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }

    .header-carousel h5 {
        font-size: 1rem;
    }

    .header-carousel h1 {
        font-size: 1.75rem;
    }

    .header-carousel p {
        font-size: 0.9rem;
    }

    .header-carousel .btn-primary {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .header-carousel h1 {
        font-size: 1.5rem;
    }

    .header-carousel p {
        font-size: 0.85rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a73e8, #1357b0);
    color: #fff;
}

.hero-section .display-4 {
    font-size: 3rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: #1a73e8;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.service-text {
    font-size: 0.95rem;
    color: #666;
}

.section-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.course-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.course-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.course-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 15px;
}

.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-list li {
    font-size: 0.95rem;
    color: #666;
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.course-list li::before {
    content: "✔";
    color: #ff6d00;
    position: absolute;
    left: 0;
    font-size: 1rem;
}

/* Service Item (from index.html) */
.service-item-top img {
    height: 200px;
    object-fit: cover;
    transition: .5s;
}

.service-item-top:hover img {
    transform: scale(1.1);
}

.service-item-top h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

.service-carousel .bg-light {
    padding: 20px;
    border-radius: 8px;
}

.service-carousel h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-carousel p {
    font-size: 1rem;
}

.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    transition: .5s;
}

.service-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}

@media (max-width: 991px) {
    .service-item-top {
        margin-bottom: 20px;
    }

    .service-item-top img {
        height: 150px;
    }

    .service-item-top h5 {
        font-size: 1.1rem;
    }

    .service-card {
        margin-bottom: 20px;
    }

    .service-carousel .bg-light {
        padding: 15px;
    }

    .service-carousel h4 {
        font-size: 1.25rem;
    }

    .service-carousel p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .service-item-top img {
        height: 120px;
    }
}

/* About Section */
#about {
    padding: 40px 0;
}

#about-headline {
    font-size: 2rem;
    margin-bottom: 15px;
}

#about-content {
    font-size: 1rem;
}

#about .position-relative {
    min-height: 500px;
}

#about img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#about img:hover {
    transform: scale(1.02);
}

.about-img-1 {
    width: auto;
    height: 100%;
    max-height: 450px;
    padding: 0 0 50px 100px;
}

.about-img-2 {
    width: auto;
    height: 225px;
    max-height: 100%;
    padding: 2px 2px 0 0;
}

@media (max-width: 991px) {
    #about .position-relative {
        min-height: 300px !important;
    }

    .about-img-1 {
        max-height: 250px;
        padding: 0 0 30px 60px;
    }

    .about-img-2 {
        max-height: 125px;
        padding: 2px 2px 0 0;
    }

    #about-headline {
        font-size: 1.75rem;
    }

    #about-content {
        font-size: 0.95rem;
    }

    #about .bg-primary {
        padding: 15px;
    }

    #about .bg-primary h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    #about .position-relative {
        min-height: 250px !important;
    }

    .about-img-1 {
        max-height: 200px;
        padding: 0 0 25px 50px;
    }

    .about-img-2 {
        max-height: 100px;
    }
}

/* Vision and Mission, Past Projects, Monthly Events */
.vision-mission, .past-projects, .monthly-events, .media {
    padding: 40px 0;
}

.vision-mission h2, .past-projects h2, .monthly-events h2, .media h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    text-align: center;
}

.vision-mission h3, .past-projects h4, .monthly-events h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.project-card, .event-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.project-card:hover, .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.event-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .vision-mission h2, .past-projects h2, .monthly-events h2, .media h2 {
        font-size: 1.5rem;
    }

    .vision-mission h3, .past-projects h4, .monthly-events h4 {
        font-size: 1.1rem;
    }

    .project-card, .event-card {
        margin-bottom: 15px;
    }

    .event-card {
        max-width: 100%;
    }
}

/* Featured Events Section */
.featured-events-section {
    padding: 80px 0;
    background-color: #fff;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.step-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.step-text {
    font-size: 0.95rem;
    color: #666;
}

/* Media Section */
.media i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.media p {
    font-size: 1rem;
}

@media (max-width: 991px) {
    .media i {
        font-size: 1.75rem;
    }

    .media p {
        font-size: 0.9rem;
    }
}

/* Fact Section */
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.fact i {
    font-size: 2rem;
}

.fact h2 {
    font-size: 2rem;
}

.fact p {
    font-size: 1rem;
}

@media (max-width: 991px) {
    .fact i {
        font-size: 1.5rem;
    }

    .fact h2 {
        font-size: 1.5rem;
    }

    .fact p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .fact h2 {
        font-size: 1.25rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #fff;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
}

.testimonial-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/* Booking Section */
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}

.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: #FFFFFF;
    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: #FFFFFF;
    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(--primary);
    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 h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.video h3 {
    font-size: 1.25rem;
}

.bg-light.p-5 {
    padding: 20px !important;
}

.bg-light.p-5 h1 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.form-control, .form-select {
    height: 45px !important;
    font-size: 0.95rem;
}

.form-control textarea {
    height: auto !important;
}

@media (max-width: 991px) {
    .video h1 {
        font-size: 1.75rem;
    }

    .video h3 {
        font-size: 1rem;
    }

    .bg-light.p-5 h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .bg-light.p-5 {
        padding: 15px !important;
    }
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

/* Team Section */
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-text {
    height: 90px;
    overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}

.team-item .team-text .bg-primary {
    flex-direction: row;
}

.team-item:hover .team-text .bg-light {
    margin-top: -90px;
}

.team-item .team-text .bg-primary .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-text .bg-primary .btn:hover {
    color: #FFFFFF;
    background: var(--secondary);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    padding-top: 40px;
}

.footer h4 {
    color: #e0e7ff;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.footer p, .footer a {
    font-size: 0.95rem;
    color: #93c5fd;
}

.footer a:hover {
    color: #bfdbfe;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .position-relative input {
    height: 45px;
    font-size: 0.95rem;
}

.footer .position-relative button {
    padding: 8px 15px;
    font-size: 0.95rem;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.btn-outline-light.btn-social {
    border-color: #93c5fd;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    margin-right: 5px;
}

.btn-outline-light.btn-social:hover {
    background-color: #93c5fd;
    border-color: #93c5fd;
}

@media (max-width: 991px) {
    .footer {
        padding-top: 80px;
    }

    .footer h4 {
        font-size: 1.1rem;
    }

    .footer p, .footer a {
        font-size: 0.9rem;
    }

    .footer .btn-social {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: #3b82f6;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #2563eb;
}