:root {
    --primary-color: #ff6b6b;
    --primary-hover: #ff5252;
    --dark-bg: rgba(7, 12, 19, 0.9);
    --text-dark: #333;
    --text-light: #fff;
    --transition: all 0.3s ease;
    --base-font-size: 1rem;
    --heading-ratio: 1.2;
}

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

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--base-font-size);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1 { 
    font-size: calc(1.8rem + 1.5vw); 
    line-height: 1.2; 
}

h2 { 
    font-size: calc(1.5rem + 1vw); 
    margin-bottom: 1.5rem; 
}

h3 { 
    font-size: calc(1.2rem + 0.5vw); 
}

p { font-size: calc(0.9rem + 0.3vw); 
    line-height: 1.6; 
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    backdrop-filter: blur(40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 0rem;
    padding: 0 10%;
    z-index: 1000;
    transition: height 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo { 
    height: 80%;
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.slogan { 
    margin-left: 1.5rem; 
    font-size: calc(0.9rem + 0.5vw); 
    color: var(--text-light); 
    font-weight: 500; 
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.menu-toggle span {
    width: 2rem;
    height: 0.25rem;
    background: var(--text-light);
    border-radius: 10px;
    transition: var(--transition);
    transform-origin: 1px;
}

.nav-menu ul { 
    display: flex; 
    list-style: none; 
}

.nav-menu ul li { 
    margin-left: 1.5rem; 
}

.nav-menu ul li a { 
    text-decoration: none; 
    color: var(--text-light); 
    font-weight: 500; 
    font-size: calc(0.9rem + 0.2vw); 
    transition: color 0.3s ease; 
}

.nav-menu ul li a:hover { 
    color: var(--primary-color); 
}

.dropdown { 
    position: relative; 
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown:hover .dropdown-content { 
    display: block; 
}

.dropdown-content a {
    color: #fff;
    padding: 0.75rem 1rem;
    display: block;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover { 
    background-color: #111; 
}

.social-sidebar {
    position: fixed;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-light);
    padding: 0.5rem 0.35rem;
    border-radius: 13px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.social-sidebar a {
    display: block;
    margin: 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    transition: var(--transition);
}

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

.whatsapp-float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 999;
    display: flex;
    align-items: center;
}

.whatsapp-icon {
    background: #25D366;
    color: var(--text-light);
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.whatsapp-icon:hover { 
    transform: scale(1.05); 
}

.whatsapp-text {
    background: var(--text-light);
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    margin-right: 0.6rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-weight: 500;
    font-size: 0.9rem;
}

.quote-float {
    position: fixed;
    bottom: 5.6rem;
    right: 1.25rem;
    background: var(--primary-hover);
    color: var(--text-light);
    padding: 0.6rem 1.1rem;
    border-radius: 20px;
    z-index: 999;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.quote-float:hover { 
    transform: translateY(-2px); 
}

section {
    padding: 5rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-carousel { 
    position: absolute; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    z-index:1; 
}

.carousel-slide { 
    position: absolute; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    opacity:0; 
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active { 
    opacity:1; 
}

.carousel-slide img { 
    width:100%; 
    height:100%; 
    object-fit:cover; 
    object-position:center; 
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
}

.hero-content h1 { 
    margin-bottom: 1.25rem; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); 
}

.hero-content p { 
    margin-bottom: 1.9rem; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7); 
    max-width: 90%; 
}

.about { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 2.5rem; 
    background-color: #dadaeb;
}

.about-text { 
    position:relative;
    left: 8%;
    width: 100%;
    max-width: 800px; 
    text-align: center; 
}

@media (max-width: 991px) {
    .about-text {
        left: auto;
    }
}

.about-text p { 
    line-height: 1.7; 
}
        
.video-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.video-wrapper {
    width: 100%;
    min-width: 600px;
    max-width: 800px;
}

@media (max-width: 991px) {
    .video-wrapper {
        min-width: 100%;
        max-width: 100%;
    }
}

.video-preview {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
}

.video-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
        
.thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

.play-button::before {
    content: '';
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--light-color);
    margin-left: 4px;
}

.video-preview:hover .thumbnail-img {
    transform: scale(1.05);
}

.video-preview:hover .play-button {
    background: var(--primary-hover);
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.about-video iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    border-radius: 10px;
}

.services { 
    background:#dadaeb; 
    text-align:center; 
}

.services-grid { 
    display:grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap:1.6rem; 
    margin-top:3.1rem; 
}

.service-card { 
    background:var(--text-light); 
    padding:1.9rem; 
    border-radius:10px; 
    box-shadow:0 5px 15px rgba(0,0,0,0.05); 
    text-align:center; 
    transition:var(--transition); 
}

.service-card:hover { 
    transform:translateY(-5px); 
    box-shadow:0 8px 20px rgba(0,0,0,0.1); 
}

.more-info { 
    display:inline-block; 
    margin-top:0.9rem; 
    color:var(--primary-color); 
    font-weight:bold; 
    text-decoration:none; 
    transition:var(--transition); 
    font-size:0.95rem; 
}

.more-info:hover { 
    color:var(--primary-hover); 
}

.clients { 
    background: #dadaeb;
    text-align:center; 
}

.clients-container {
  width: 100%;
  margin: 0 auto;
  padding: 2rem 0;
  border-radius: 20px;
}

@media (max-width: 991px) {
    .clients-container {
        min-width: 100%;
        max-width: 100%;
    }
}

.clients-container .swiper-slide {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.clients-container img {
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .clients-container img {
        min-width: 100%;
        max-width: 100%;
        border-radius: 20px;
    }
}

.contact {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background-color: #dadaeb;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15rem;
    width: 100%;
    max-width: 1650px;
    align-items: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 300px;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    margin-right: 15px;
    color: #6c63ff;
    font-size: 1.2rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6c63ff;
    outline: none;
}

button[type="submit"] {
    padding: 1rem 2rem;
    background-color: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 0.5rem;
}

button[type="submit"]:hover {
    background-color: #574fd6;
}

#form-message {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .contact-form-container {
        width: 100%;
    }
}

footer { 
    text-align:center; 
    background:#2d3748; 
    color:var(--text-light); 
    padding:1rem; 
    font-size:0.9rem; 
}

@media (min-width: 992px) { 
    .about { flex-direction: row; align-items:center; }
    .about-text { text-align:left; padding-right:2.5rem; }
    header {height:5rem;}
}

@media (max-width: 991px) {
    header { height:4.5rem; }
    .slogan { font-size: calc(0.8rem + 0.5vw); margin-left:1rem; }
    .nav-menu ul li { margin-left:1rem; }
    .about-video { height:20rem; }
    .play-button { width:70px; height:70px; }
    .play-button i { font-size:2rem; }
    .video-thumbnail { height:16rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display:flex; }
    .nav-menu {
        position: fixed; top:0; right:-100%; width:70%; height:100vh;
        background: var(--dark-bg); transition: right 0.3s ease; padding:5rem 2rem 2rem; z-index:999;
    }
    .nav-menu.active { right:0; }
    .nav-menu ul { flex-direction: column; }
    .nav-menu ul li { margin:1rem 0; }
    .nav-menu ul li a { font-size:1.1rem; }
    .dropdown-content { position:static; box-shadow:none; background: rgba(255,255,255,0.1); margin-top:0.5rem; }
    .dropdown-content a { color:var(--text-light); padding:0.5rem 1rem; }
    .dropdown-content a:hover { background: rgba(255,255,255,0.2); }
}

@media (max-width: 576px) {
    .logo { height:70%; }
    .slogan { display:none; }
    .hero-buttons { flex-direction:column; align-items:center; }
    .services-grid { grid-template-columns:1fr; }
    .clients-container { flex-direction:column; align-items:center; gap:1.5rem; }
    .about-video { height:18rem; }
    .whatsapp-float { bottom:1rem; right:1rem; }
    .quote-float { bottom:4.5rem; right:1rem; }
    .play-button { width:50px; height:50px; }
    .play-button i { font-size:1.4rem; }
    .video-thumbnail { height:14rem; }
}

@media (max-width: 400px) {
    :root { --base-font-size:0.9rem; }
    header { padding: 0 3%; }
    section { padding: 3.5rem 3%; }
    .hero-content { padding: 0 0.8rem; }
    .about-video { height:15rem; }
    .video-thumbnail { height:12rem; }
}