:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
}

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

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--dark);
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bracket-left, .bracket-right {
    width: 3px;
    height: 18px;
    background: var(--primary);
    position: absolute;
    border-radius: 10px;
}

.bracket-left {
    transform: rotate(20deg) translateX(-4px);
}

.bracket-right {
    transform: rotate(20deg) translateX(4px);
    background: #60a5fa;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--dark);
    line-height: 1;
}

.logo-text span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-left: 2px;
}

.logo-wrapper:hover {
    transform: translateY(-1px);
}

.logo-wrapper:hover .logo-icon {
    background: var(--primary);
}

.logo-wrapper:hover .bracket-left,
.logo-wrapper:hover .bracket-right {
    background: var(--white);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switcher {
    display: flex;
    gap: 0.75rem;
}

.lang-switcher a {
    display: block;
    width: 24px;
    height: 16px;
    opacity: 0.5;
    transition: var(--transition);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.lang-switcher a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.lang-switcher a.active {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Hero */
.hero {
    padding: 12rem 0 10rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

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

.hero-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(75deg, rgba(15, 23, 42, 0.95) 30%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--white);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-trust {
    margin-bottom: 3rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary);
}

.hero-trust p {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
}

.client-logo {
    height: 30px;
    width: auto;
    filter: none;
    opacity: 1;
    transition: var(--transition);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.client-logo:active {
    transform: scale(0.95);
}

.client-logo:hover {
    transform: translateY(-3px);
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-alt {
    background: var(--light);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.main-about-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 2;
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.experience-badge .text {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Contact */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.contact-info h2 { color: var(--white); }
.contact-info p { color: #94a3b8; margin-bottom: 3rem; }

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 1rem;
}

.phone-link {
    color: #60a5fa; /* A lighter, more vibrant blue for visibility on dark background */
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.phone-link:hover {
    color: var(--white);
    transform: scale(1.05) translateX(5px);
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
}

.contact-form-wrapper {
    padding: 5rem;
}

.alert {
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2.5rem;
}

.alert-success { 
    background: #f0fdf4; 
    border: 1px solid #bbf7d0; 
    color: #166534; 
}

.alert-danger { 
    background: #ef4444; 
    border: 2px solid #dc2626; 
    color: white; 
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.2);
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.form-group { margin-bottom: 2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.75rem; }

.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recaptcha-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
    text-align: center;
    line-height: 1.5;
}

.recaptcha-notice a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 6rem 0 3rem;
    background: var(--light);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 300px;
}

.footer-address {
    font-size: 0.85rem !important;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    padding: 0;
    margin: 0;
}

.footer-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copy {
    width: 100%;
    text-align: center;
    padding-top: 3rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge { 
    visibility: hidden; 
}

/* Tippy Tooltips */
.tippy-box[data-theme~='drusoft-modern'] {
    background-color: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    padding: 0.5rem;
}

.tippy-box[data-theme~='drusoft-modern'] .tippy-content {
    line-height: 1.5;
}

.tippy-box[data-theme~='drusoft-modern'] .tippy-arrow {
    color: var(--white);
}

.tippy-box[data-theme~='drusoft-modern'] strong {
    color: var(--primary);
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .contact-card { grid-template-columns: 1fr; }
    .experience-badge { position: relative; bottom: auto; right: auto; margin-top: 5px; }
    
    /* Hide nav links and CTA on tablet/mobile but keep lang switcher */
    .nav-links, .nav-cta { display: none; }
    .nav-right { gap: 1rem; }
}

@media (max-width: 768px) {
    .hero { padding: 8rem 0; }
    .hero h1 { font-size: 2.75rem; }
    .section { padding: 5rem 0; }
    .contact-info, .contact-form-wrapper { padding: 3rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.25rem; }
    .hero p { font-size: 1.1rem; }
    .trust-logos { gap: 1.5rem; }
    .client-logo { height: 26px; }
    .logo-text { font-size: 1.15rem; }
    .logo-icon { width: 32px; height: 32px; }
    .section-title { font-size: 2rem; }
    .footer-links ul { flex-direction: column; gap: 1rem; }
    
    /* Contact form mobile optimization */
    .contact-info, .contact-form-wrapper { padding: 2rem 1rem; }
    .contact-info p { margin-bottom: 2rem; }
    
    /* Service card mobile optimization */
    .service-card { padding: 1.5rem; }
    .service-card h3 { font-size: 1.1rem; }
    .service-card p { font-size: 0.75rem; }
    .service-icon { font-size: 2rem; margin-bottom: 1rem; }

    /* Bigger flags for easier tapping on mobile */
    .lang-switcher a { width: 40px; height: 26px; }

    .form-group select { font-size: 0.9rem; }
}
