/* ========================================
   GLOBAL STYLES
   ======================================== */

:root {
    --primary-color: #1e40af;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --dark-text: #1f2937;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* ========================================
   NAVIGATION BAR STYLES
   ======================================== */

.custom-navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: var(--shadow-lg);
    min-height: 4vh;
    max-height: 8vh;
    height: clamp(50px, 6vh, 80px);
    padding: 0.5vh 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1030;
}

.custom-navbar .navbar-brand {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.custom-navbar .navbar-brand img {
    height: clamp(30px, 4vh, 50px);
    width: auto;
    transition: transform 0.3s ease;
}

.custom-navbar .navbar-brand:hover img {
    transform: scale(1.05);
}

/* ========================================
   BANNER SECTION STYLES
   ======================================== */

.banner-section {
    width: 100%;
    height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive Banner */
@media (max-width: 1200px) {
    .banner-section {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .banner-section {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .banner-section {
        height: 300px;
    }
}

/* ========================================
   ABOUT US SECTION STYLES
   ======================================== */

.about-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-subtitle {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.about-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #555;
    padding: 0 1rem;
}

.about-content p:first-letter {
    font-weight: 600;
    color: var(--primary-color);
}

/* About Us Image Styling */
.about-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 8px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.3),
        inset 0 0 20px rgba(30, 64, 175, 0.1);
    transition: all 0.5s ease;
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.about-image-container::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color), var(--primary-color), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-image-container:hover::before {
    opacity: 1;
}

.about-image-container:hover {
    box-shadow: 0 25px 50px rgba(30, 64, 175, 0.4),
        inset 0 0 30px rgba(30, 64, 175, 0.15);
    transform: scale(1.05) rotateZ(2deg);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease, filter 0.5s ease;
    border-radius: 50%;
}

.about-image-container:hover .about-image {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* Responsive adjustments for About Section */
@media (max-width: 992px) {
    .about-image-container {
        width: 300px;
        height: 300px;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-subtitle {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .about-image-container {
        width: 250px;
        height: 250px;
        margin-bottom: 2rem;
        border-width: 6px;
    }

    .about-image {
        height: 250px;
    }

    .about-content p {
        padding: 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-image-container {
        width: 200px;
        height: 200px;
        border-width: 5px;
    }

    .about-image {
        height: 200px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   GALLERY SECTION STYLES
   ======================================== */

.gallery-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 5rem 0;
}

.gallery-subtitle {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.gallery-carousel {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gallery-img {
    height: 600px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.carousel-item {
    transition: transform 0.8s ease;
}

.carousel-item.active .gallery-img {
    transform: scale(1.02);
}

/* Carousel Controls Styling */
.carousel-control-prev,
.carousel-control-next {
    background-color: rgba(30, 64, 175, 0.6);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(30, 64, 175, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.carousel-indicators button.active {
    background-color: var(--accent-color);
    width: 16px;
    height: 16px;
}

.carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Gallery Responsive Design */
@media (max-width: 1200px) {
    .gallery-img {
        height: 500px;
    }
}

@media (max-width: 992px) {
    .gallery-img {
        height: 400px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-img {
        height: 300px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .carousel-indicators button.active {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-img {
        height: 200px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }

    .carousel-control-prev {
        left: 8px;
    }

    .carousel-control-next {
        right: 8px;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }

    .carousel-indicators button.active {
        width: 12px;
        height: 12px;
    }
}

.carousel-indicators {
    bottom: 15px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 4px;
}

.carousel-indicators button.active {
    width: 14px;
    height: 14px;
}

.logo-img {
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-dark .navbar-toggler {
    border: none;
    padding: clamp(0.25rem, 0.8vh, 0.5rem);
    width: clamp(40px, 8vw, 50px);
    height: clamp(35px, 6vh, 40px);
    border-radius: 0.375rem;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-dark .navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: clamp(18px, 3vw, 24px);
    height: clamp(16px, 2.5vh, 20px);
}

.navbar-dark .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* Navigation Links */
.nav-link-custom {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    letter-spacing: 0.02em;
    position: relative;
    padding: clamp(0.3rem, 1vh, 0.5rem) clamp(0.5rem, 1.5vw, 0.75rem) !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}
}

.nav-link-custom::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-custom:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.nav-link-custom:hover::after {
    width: 100%;
}

.nav-link-custom.active {
    color: var(--accent-color) !important;
}

.nav-link-custom.active::after {
    width: 100%;
}

/* Navbar Responsive */
@media (max-width: 1200px) {
    .custom-navbar {
        height: clamp(45px, 5.5vh, 70px);
        padding: 0.4vh 0;
    }

    .custom-navbar .navbar-brand {
        font-size: clamp(1rem, 2.2vw, 1.3rem);
    }

    .custom-navbar .navbar-brand img {
        height: clamp(28px, 3.5vh, 45px);
    }

    .nav-link-custom {
        font-size: clamp(0.8rem, 1.6vw, 0.9rem);
        padding: clamp(0.25rem, 0.8vh, 0.4rem) clamp(0.4rem, 1.2vw, 0.6rem) !important;
    }
}

@media (max-width: 992px) {
    .custom-navbar {
        height: clamp(42px, 5vh, 65px);
        padding: 0.35vh 0;
    }

    .custom-navbar .navbar-brand {
        font-size: clamp(0.95rem, 2vw, 1.25rem);
    }

    .custom-navbar .navbar-brand img {
        height: clamp(26px, 3.2vh, 42px);
    }

    .nav-link-custom {
        font-size: clamp(0.75rem, 1.5vw, 0.85rem);
        padding: clamp(0.2rem, 0.7vh, 0.35rem) clamp(0.35rem, 1vw, 0.5rem) !important;
    }
}

@media (max-width: 768px) {
    .custom-navbar {
        height: clamp(38px, 4.5vh, 60px);
        padding: 0.3vh 0;
    }

    .custom-navbar .navbar-brand {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }

    .custom-navbar .navbar-brand img {
        height: clamp(24px, 3vh, 38px);
    }

    .nav-link-custom {
        font-size: clamp(0.7rem, 1.4vw, 0.8rem);
        padding: clamp(0.15rem, 0.6vh, 0.3rem) clamp(0.3rem, 0.8vw, 0.45rem) !important;
    }
}

@media (max-width: 480px) {
    .custom-navbar {
        height: clamp(35px, 4vh, 55px);
        padding: 0.25vh 0;
    }

    .custom-navbar .navbar-brand {
        font-size: clamp(0.85rem, 1.6vw, 1rem);
    }

    .custom-navbar .navbar-brand img {
        height: clamp(22px, 2.8vh, 35px);
    }

    .nav-link-custom {
        font-size: clamp(0.65rem, 1.3vw, 0.75rem);
        padding: clamp(0.1rem, 0.5vh, 0.25rem) clamp(0.25rem, 0.6vw, 0.4rem) !important;
    }
}

/* ========================================
   CONTAINER STYLES
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* ========================================
   SPACING UTILITIES
   ======================================== */

.section-padding {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 2rem 0;
    }
}

/* Responsive Gaps and Flexbox */
.gap-4 {
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .gap-4 {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .gap-4 {
        gap: 0.75rem;
    }

    .row {
        margin-left: -0.375rem;
        margin-right: -0.375rem;
    }

    .row>* {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: #6b7280;
    line-height: 1.8;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #1a35a1 0%, #0284c7 100%);
}

.btn-secondary {
    background-color: var(--accent-color);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background-color: #d97706;
}

/* ========================================
   CARDS
   ======================================== */

.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-body {
    padding: 1.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .custom-navbar {
        padding: 0.75rem 0;
    }

    .custom-navbar .navbar-brand {
        font-size: 1.25rem;
    }

    .nav-link-custom {
        font-size: 0.9rem;
    }
}

/* ========================================
   CONTACT US SECTION STYLES
   ======================================== */

.contact-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.contact-subtitle {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Contact Cards */
.contact-card {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.contact-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-size: 1.25rem;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.contact-card p {
    margin: 0;
    color: #666;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form {
    background: #f9fafb;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
    display: block;
}

.contact-input {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.1);
    outline: none;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }

    .contact-input {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }

    .btn-submit {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1rem;
    }

    .contact-input {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--dark-text) 0%, #111827 100%);
    color: #d1d5db;
    padding-top: 0;
    margin-top: 5rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: #9ca3af;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-5px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 0;
}

.heart {
    color: var(--accent-color);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .col-md-6:last-child {
        margin-top: 1rem;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-card {
        margin-bottom: 1.5rem;
    }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInFromLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInFromRight 0.6s ease-out;
}

.slide-in-top {
    animation: slideInFromTop 0.6s ease-out;
}

.slide-in-bottom {
    animation: slideInFromBottom 0.6s ease-out;
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   OVERFLOW AND HORIZONTAL SCROLL FIX
   ======================================== */

/* Prevent horizontal scroll on all major elements */
body,
html,
main,
section,
.container,
.container-fluid {
    overflow-x: hidden !important;
    max-width: 100%;
    width: 100%;
}

/* Fix any potential overflow from rows and columns */
.row {
    overflow-x: hidden;
}

/* Ensure all images stay within viewport */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix carousel overflow */
.carousel {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix navbar overflow */
.navbar-collapse {
    overflow-x: hidden;
}

/* Additional responsive fixes for small screens */
@media (max-width: 768px) {

    body,
    html {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}