html {
    font-size: 14px;
    scroll-behavior: smooth; /* Enables smooth scrolling */
    scroll-padding-top: 80px; /* Offset for fixed navbar */
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Navbar Logo Sizing */
.navbar-brand img {
    max-height: 60px;
    width: auto;
    transition: max-height 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 40px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 35px;
    }
}

/* Hero Video Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 50vh; /* Adjust this to control the visible height */
    overflow: hidden;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    min-width: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3); /* Optional: adds a subtle dark overlay for better text readability */
}

.hero-text {
    color: white;
    font-size: 3.5rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 0 2rem;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

.service-icon {
    font-size: 3.5rem;
    color: #D1912E;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.service-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.service-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 150px;
}

.business-solutions-tag {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d6efd;
    letter-spacing: 2px;
    margin-top: 3rem;
}

/* Business Message Section */
.business-message-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.business-message-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.business-message-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.business-message-image {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.business-message-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-message-card:hover .business-message-image img {
    transform: scale(1.05);
}

.business-message-content {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.business-message-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2B3E50;
    line-height: 1.2;
}

.business-message-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.business-message-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #D1912E;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Technologies Section */
.techtips-section {
    padding: 5rem 0;
    background-color: #2B3E50;
}

.technologies-tag {
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.technologies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.technology-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #f8f9fa;
    color: #2B3E50;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

    .technology-badge:hover {
        background-color: #D1912E;
        color: white;
        border-color: #2B3E50;
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba(43, 62, 80, 0.2);
    }

/* Teamwork Section */
.teamwork-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.teamwork-tag {
    font-size: 1rem;
    font-weight: 600;
    color: #D1912E;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.teamwork-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #2B3E50;
    margin-bottom: 1rem;
}

.team-card {
    background-color: #2B3E50;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

.team-image-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa;
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-info {
    padding: 2rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.team-title {
    font-size: 1rem;
    color: #D1912E;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Industries Section */
.industries-section {
    padding: 5rem 0;
    background-color: #2B3E50;
}

.industries-tag {
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

.industry-card {
    background: var(--bs-secondary);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

    .industry-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-color: #D1912E;
    }

.industry-icon {
    font-size: 3rem;
    color: #D1912E;
    margin-bottom: 1rem;
    display: block;
}

.industry-card:hover .industry-icon {
    color: white;
}

.industry-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Footer Section */
.footer-section {
    background-color: #2B3E50;
    padding: 2rem 0 2rem;
    color: white;
}

.footer-tag {
    font-size: 0.9rem;
    font-weight: 600;
    color: #D1912E;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

    .footer-logo img {
        max-width: 200px;
        height: auto;
    }

.footer-nav {
    margin-bottom: 2rem;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 1rem;
}

    .footer-menu li {
        display: inline-block;
    }

    .footer-menu a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 400;
        padding: 0.5rem 1rem;
        transition: color 0.3s ease;
    }

        .footer-menu a:hover {
            color: #D1912E;
        }

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background-color: #D1912E;
        color: white;
        transform: translateY(-3px);
    }

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

.scroll-reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .scroll-reveal-item.revealed {
        opacity: 1;
        transform: translateY(0);
    }

/* Fade in from left */
.fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-left.revealed {
        opacity: 1;
        transform: translateX(0);
    }

/* Fade in from right */
.fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-right.revealed {
        opacity: 1;
        transform: translateX(0);
    }

/* Scale in animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .scale-in.revealed {
        opacity: 1;
        transform: scale(1);
    }

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact-form-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #2B3E50;
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

    .contact-form .form-group {
        margin-bottom: 1rem;
    }

    .contact-form .form-control {
        border: 2px solid #e9ecef;
        border-radius: 8px;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        transition: all 0.3s ease;
        width: 100%;
    }

        .contact-form .form-control::placeholder {
            color: #999;
            font-size: 1rem;
        }

        .contact-form .form-control:focus {
            border-color: #D1912E;
            box-shadow: 0 0 0 0.2rem rgba(209, 145, 46, 0.25);
            outline: none;
        }

    .contact-form textarea.form-control {
        resize: vertical;
        min-height: 150px;
    }

    .contact-form .btn-secondary {
        padding: 1rem 3rem;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 50px;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        margin-top: 1rem;
    }

        .contact-form .btn-secondary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(209, 145, 46, 0.3);
        }

    /* Form Validation Styles */
    .contact-form .invalid-feedback {
        display: none;
        font-size: 0.875rem;
        color: #dc3545;
        margin-top: 0.25rem;
    }

    .contact-form .form-control.is-invalid {
        border-color: #dc3545;
    }

        .contact-form .form-control.is-invalid ~ .invalid-feedback {
            display: block;
        }

    .contact-form .form-control.is-valid {
        border-color: #399949;
    }

    .contact-form .text-danger {
        display: block;
        font-size: 0.875rem;
        color: #dc3545;
        margin-top: 0.25rem;
    }

    .contact-form .alert-danger {
        font-size: 0.95rem;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

/* Thank You Message */
.thank-you-message {
    background: white;
    padding: 4rem 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-icon {
    font-size: 5rem;
    color: #399949;
    margin-bottom: 1.5rem;
}

.thank-you-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2B3E50;
    margin-bottom: 1rem;
}

.thank-you-text {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Responsive text sizing */
@media (max-width: 768px) {
    .hero-text {
        font-size: 2rem;
    }

    .services-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .business-message-section {
        padding: 3rem 0;
    }

    .business-message-content {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .business-message-title {
        font-size: 1.75rem;
    }
    
    .business-message-subtitle {
        font-size: 0.95rem;
    }
    
    .business-message-content h3 {
        font-size: 1rem;
    }
    
    .business-message-image {
        min-height: 250px;
    }
    
    .business-message-content .btn-secondary {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .technologies-section {
        padding: 3rem 0;
    }

    .technologies-tag {
        font-size: 1.1rem;
    }

    .technology-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .teamwork-section {
        padding: 3rem 0;
    }

    .teamwork-title {
        font-size: 2rem;
    }

    .teamwork-subtitle {
        font-size: 1.1rem;
    }

    .industries-section {
        padding: 3rem 0;
    }

    .industries-tag {
        font-size: 1.25rem;
    }

    .industry-card {
        padding: 1.5rem 1rem;
    }

    .industry-icon {
        font-size: 2.5rem;
    }

    .industry-name {
        font-size: 0.9rem;
    }

    .footer-section {
        padding: 3rem 0 1.5rem;
    }

    .footer-logo img {
        max-width: 150px;
    }

    .footer-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

        .footer-menu a {
            padding: 0.3rem 0.5rem;
            font-size: 0.95rem;
        }

    .contact-form-section {
        padding: 3rem 0;
    }

    .contact-form-title {
        font-size: 2rem;
    }

    .contact-form-subtitle {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

        .contact-form .btn-secondary {
            padding: 0.75rem 2rem;
            font-size: 1rem;
        }

    .thank-you-message {
        padding: 3rem 2rem;
        min-height: 300px;
    }

    .thank-you-icon {
        font-size: 3rem;
    }

    .thank-you-title {
        font-size: 1.75rem;
    }

    .thank-you-text {
        font-size: 1rem;
    }
}

/* Fallback for smaller screens */
@media (max-aspect-ratio: 16/9) {
    #heroVideo {
        width: auto;
        height: 142.86%;
    }
}

.divTitle1 {
    opacity: 0;
    animation: showup1 8s ease-in-out infinite;
}

.divTitle2 {
    opacity: 0;
    animation: showup2 8s ease-in-out infinite;
}

.divTitle3 {
    opacity: 0;
    animation: showup3 8s ease-in-out infinite;
    color: #D1912E;
}

@keyframes showup1 {
    0% {
        opacity: 0;
    }

    20% {
        opacity: .25;
    }


    40% {
        opacity: .5;
    }

    60% {
        opacity: .75;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes showup2 {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0;
    }

    40% {
        opacity: .25;
    }

    60% {
        opacity: .50;
    }

    80% {
        opacity: .75;
    }

    100% {
        opacity: 1;
    }
}

@keyframes showup3 {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0;
    }
    40% {
        opacity: 0;
    }

    60% {
        opacity: .25;
    }
    80% {
        opacity: .5;
    }

    100% {
        opacity: 1;
    }
}
