/* style.css */
/* CSS Variables for consistent theming */
:root {
    --primary-color: #00c7b7;
    --primary-dark: #009fdc;
    --secondary-color: #1a2639;
    --dark-bg: #0f1721;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(0, 199, 183, 0.3);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --box-shadow: 0 8px 24px rgba(0, 199, 183, 0.15);
    --box-shadow-hover: 0 12px 32px rgba(0, 199, 183, 0.3);
}

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

body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 23, 33, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 199, 183, 0.2);
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--text-light), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.language-selector {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover, .lang-btn.active {
    background: rgba(0, 199, 183, 0.3);
    color: var(--text-light);
}

/* Hero Section */
.loading-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    z-index: 10;
    padding: 170px 20px 120px;
}

a {
    text-decoration: none;
    font-weight: bold;
    color: var(--text-light);
}

/* 3D Cube Styles */
.cube-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 50px;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(-15deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: rotateX(-15deg) rotateY(-15deg) translateY(0); }
    50% { transform: rotateX(-20deg) rotateY(-25deg) translateY(-20px); }
}

.cube {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

@keyframes rotate {
    0% { transform: rotateX(0) rotateY(0) rotateZ(0); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(0, 199, 183, 0.1);
    border: 1px solid rgba(0, 199, 183, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 30px rgba(0, 199, 183, 0.2), 
                0 0 20px rgba(0, 199, 183, 0.1);
    backdrop-filter: blur(2px);
    overflow: hidden;
}

.cube-face::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
                rgba(0, 199, 183, 0.3) 0%, 
                rgba(0, 199, 183, 0) 70%);
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.cube-face:nth-child(1) { transform: translateZ(100px); }
.cube-face:nth-child(2) { transform: rotateY(180deg) translateZ(100px); }
.cube-face:nth-child(3) { transform: rotateY(90deg) translateZ(100px); }
.cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(100px); }
.cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(100px); }
.cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(100px); }

/* Logo Styles */
.logo-container {
    position: relative;
    text-align: center;
    margin-top: 40px;
    overflow: hidden;
    width: 100%;
}

.company-name {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--text-light), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.5s forwards, 
               glow 2s ease-in-out infinite alternate;
    margin-bottom: 10px;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes glow {
    from { text-shadow: 0 0 5px rgba(0, 199, 183, 0.3); }
    to { text-shadow: 0 0 20px rgba(0, 199, 183, 0.8), 0 0 30px rgba(0, 199, 183, 0.5); }
}

.subtext {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 15px;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 1.5s forwards;
    margin-bottom: 30px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.quote-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    animation: fadeIn 1.5s ease-out 2s forwards;
    z-index: 20;
    position: relative;
    white-space: nowrap;
}

.quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
    background: linear-gradient(135deg, #00d6c4, #00b0f0);
}

.quote-btn:active {
    transform: scale(0.98);
}

.secondary-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.secondary-btn:hover {
    background: rgba(0, 199, 183, 0.1);
}

/* Progress Bar */
.progress-container {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), #00fff2);
    border-radius: 3px;
    animation: loading 4s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Particles Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(0, 199, 183, 0.4);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    to { transform: translateY(-100vh); }
}

/* Sections */
section {
    padding: 100px 20px;
    position: relative;
}

.services-section {
    text-align: center;
    background: rgba(15, 23, 33, 0.95);
    position: relative;
}

.services-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: linear-gradient(90deg, var(--text-light), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 199, 183, 0.4);
    border-color: rgba(0, 199, 183, 0.6);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: floatIcon 3s infinite ease-in-out;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer Styles */
footer {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(10, 15, 25, 0.95);
    border-top: 1px solid rgba(0, 199, 183, 0.2);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-contact span {
    display: flex;
    align-items: center;
    gap: 5px;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

footer a:hover {
    color: var(--text-light);
    text-shadow: 0 0 8px rgba(0, 199, 183, 0.7);
}

.footer-separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* reCAPTCHA badge styling */
.grecaptcha-badge {
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 199, 183, 0.6) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    backdrop-filter: blur(4px) !important;
    background: rgba(15, 23, 33, 0.7) !important;
    border: 1px solid rgba(0, 199, 183, 0.3) !important;
    transform: translateX(0) !important;
    animation: badgeSlideIn 1s ease-out forwards !important;
}

@keyframes badgeSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.grecaptcha-badge:hover {
    box-shadow: 0 0 25px rgba(0, 199, 183, 0.8) !important;
    transform: translateY(-3px) scale(1.02) !important;
    background: rgba(15, 23, 33, 0.85) !important;
}

.grecaptcha-badge::after {
    content: "Secured by reCAPTCHA";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 33, 0.95);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid rgba(0, 199, 183, 0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .cube-container {
        width: 150px;
        height: 150px;
    }
    
    .cube-face {
        width: 150px;
        height: 150px;
    }
    
    .cube-face:nth-child(1) { transform: translateZ(75px); }
    .cube-face:nth-child(2) { transform: rotateY(180deg) translateZ(75px); }
    .cube-face:nth-child(3) { transform: rotateY(90deg) translateZ(75px); }
    .cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(75px); }
    .cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(75px); }
    .cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(75px); }
    
    .company-name {
        font-size: 2.5rem;
    }
    
    .subtext {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .quote-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .progress-container {
        width: 250px;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .footer-contact {
        gap: 10px;
    }
    
    /* Tablet reCAPTCHA adjustments */
    .grecaptcha-badge {
        transform: scale(0.85) !important;
        transform-origin: bottom right !important;
        right: 10px !important;
    }
    
    .language-selector {
        display: none;
    }
    
    .language-selector-mobile {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin-top: 10px;
    }
    
    .nav-menu.active .language-selector-mobile {
        display: flex;
    }
}

@media (max-width: 480px) {
    .cube-container {
        width: 120px;
        height: 120px;
    }
    
    .cube-face {
        width: 120px;
        height: 120px;
    }
    
    .cube-face:nth-child(1) { transform: translateZ(60px); }
    .cube-face:nth-child(2) { transform: rotateY(180deg) translateZ(60px); }
    .cube-face:nth-child(3) { transform: rotateY(90deg) translateZ(60px); }
    .cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(60px); }
    .cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(60px); }
    .cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(60px); }
    
    .company-name {
        font-size: 2rem;
    }
    
    .subtext {
        font-size: 0.9rem;
    }
    
    .services-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    footer {
        padding: 30px 15px;
        font-size: 0.8rem;
    }
    
    .progress-container {
        width: 200px;
    }
    
    /* Mobile reCAPTCHA adjustments */
    .grecaptcha-badge {
        transform: scale(0.7) !important;
        right: 5px !important;
        bottom: 5px !important;
        border-radius: 8px !important;
    }
    
    .grecaptcha-badge::after {
        font-size: 7px;
        bottom: 3px;
    }
}

/* Section Styling Improvements */
section {
    padding: 150px 20px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
}

section:nth-of-type(odd) {
    background: rgba(15, 23, 33, 0.9);
    box-shadow: 0 8px 25px rgba(0, 199, 183, 0.1);
}

section:nth-of-type(even) {
    background: rgba(0, 199, 183, 0.05);
    box-shadow: 0 8px 25px rgba(0, 199, 183, 0.05);
}

section::before,
section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 199, 183, 0.2);
}

section::before {
    top: 0;
}

section::after {
    bottom: 0;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 199, 183, 0.2);
}

.language-selector-mobile {
  display: none;
}