:root {
    --primary-color: #00a8ff;
    --secondary-color: #f4f4f4;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gray-color: #333;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    background-color: var(--dark-color);
    color: var(--secondary-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Navbar */
.navbar {
    transition: background-color 0.5s ease;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}

.navbar-brand span {
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 32px;
    }
    .navbar-brand span {
        font-size: 1rem;
    }
}

.nav-link {
    font-weight: 600;
}

/* Hero */
.hero {
    color: var(--light-color);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    position: relative;
    z-index: 3;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
}

.hero-text {
    position: relative;
    z-index: 3;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #008fdb;
    border-color: #008fdb;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

/* Branding section */
#branding {
    background: none;
}

.big-brand-card {
    background-color: var(--gray-color);
    border-radius: 20px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.big-brand-card img {
    max-height: 220px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.big-brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.big-brand-card:hover img {
    transform: scale(1.1);
}

/* Sections */
.section-title {
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    text-align: center;
}

#about, #services, #contact, #partners {
    padding: 70px 0;
}

/* Services */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: background-color 0.3s ease;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.card {
    background-color: var(--gray-color);
    border: 1px solid transparent;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.card:hover .service-icon-wrapper {
    background-color: var(--primary-color);
}

.card:hover .service-icon {
    transform: scale(1.2);
    color: var(--light-color);
}

.card-title {
    color: var(--light-color);
}

.card-text {
    color: var(--secondary-color);
}

/* Partners */
#partners .carousel-inner {
    padding-bottom: 50px;
}

#partners .carousel-item {
    text-align: center;
}

#partners .partner-logo-card {
    max-width: 280px;
    height: 180px;
    margin: auto;
    background-color: var(--gray-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

#partners .partner-logo-card img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

#partners .partner-logo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Contact */
#contact {
    background-color: var(--gray-color);
}

#contact h2 {
    color: var(--light-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    padding: 40px 0;
    color: var(--secondary-color);
    border-top: 1px solid var(--gray-color);
}

.social-icons a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
