:root {
    --primary-color: #008cd2;
    --secondary-color: #f48024;
    --text-black: #111111;
    --text-gray: #666666;
    --bg-white: #ffffff;
    --bg-offwhite: #f8f8f8;
    --border-color: #eeeeee;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --container-width: 1300px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Background Decorations - Water Infrastructure Style (Refined) */
.bg-decor {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.water-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: .03;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 Q 25 25, 50 50 T 100 50' fill='none' stroke='%23008cd2' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 300px 300px;
}

.drop-element {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(0, 140, 210, .1), transparent);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    filter: blur(60px);
}

.drop-1 { top: 5%; right: -150px; width: 500px; height: 500px; }
.drop-2 { top: 35%; left: -200px; width: 700px; height: 700px; opacity: .1; }
.drop-3 { top: 75%; right: -100px; width: 450px; height: 450px; }

.flow-link {
    position: absolute;
    width: 1px; /* Thinner line */
    background: linear-gradient(180deg, transparent, rgba(0, 140, 210, .1), transparent);
}

.link-1 { top: 15%; left: 8%; height: 400px; transform: rotate(-20deg); }
.link-2 { top: 50%; right: 5%; height: 600px; transform: rotate(15deg); }
.link-3 { top: 85%; left: 15%; height: 350px; transform: rotate(40deg); }

.node-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: .2;
}

.node-point::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color); /* Thinner ring */
    border-radius: 50%;
    animation: ripple 4s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0; }
    100% { transform: scale(5); opacity: .3; }
}

.node-1 { top: 12%; left: 5%; }
.node-2 { top: 42%; right: 12%; }
.node-3 { top: 70%; left: 8%; }
.node-4 { top: 92%; right: 5%; }

/* Typography Pixelmatters Style */
h1, h2, h3, h4 {
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.95;
    color: var(--text-black);
}

.display-large {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

.display-medium {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.2rem;
}

p.lead-agency {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.4;
    max-width: 650px;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    overflow: visible !important;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.navbar-brand img {
    height: 45px;
    transition: var(--transition-smooth);
}

.nav-link {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-black) !important;
    margin-left: 25px;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    opacity: 1;
}

/* Hero Section - Pixelmatters inspired */
.hero-agency {
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at top right, rgba(0, 140, 210, 0.08), transparent 45%),
                radial-gradient(circle at bottom left, rgba(244, 128, 36, 0.08), transparent 45%);
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: block;
}

/* Sections Styling */
section {
    padding: 80px 0;
}

/* Staggered Grid for Products */
.staggered-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 60px;
    padding: 60px 0;
}

.product-item {
    position: relative;
    cursor: pointer;
}

.product-item:nth-child(even) {
    margin-top: 60px;
}

.product-meta {
    margin-bottom: 25px;
}

.product-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-title {
    font-size: 1.5rem;
    margin-top: 5px;
    transition: var(--transition-smooth);
}

.product-item.active .product-title {
    color: var(--primary-color);
}

.product-visual {
    background: linear-gradient(180deg, #fcfcfc 0%, #f0f4f8 100%);
    border-radius: 12px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.02);
}

.product-visual::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 140, 210, 0.06) 0%, transparent 60%);
    top: -50%;
    left: -50%;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.product-item:hover .product-visual::after {
    background: radial-gradient(circle, rgba(244, 128, 36, 0.12) 0%, transparent 60%);
}

.product-visual img {
    height: 80%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-visual .img-hover {
    position: absolute;
    opacity: 0;
    transform: scale(0.95);
}

.product-item:hover .product-visual {
    background: #f0f0f0;
}

.product-item:hover .img-base {
    opacity: 0;
    transform: scale(1.05);
}

.product-item:hover .img-hover,
.product-item.active .img-hover {
    opacity: 1;
    transform: scale(1);
}

/* Product Info Overlay */
.product-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 60px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transform: translateY(100%);
    transition: var(--transition-smooth);
    z-index: 10;
    overflow-y: auto;
}

.product-item.active .product-info-overlay {
    transform: translateY(0);
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-close-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-black);
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.btn-close-info:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 12px;
}

/* Communication Section - Clean Light Style */
.comm-section {
    padding: 120px 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.comm-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 140, 210, 0.04) 0%, transparent 70%);
    top: -400px;
    right: -200px;
}

.comm-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.comm-content {
    text-align: left;
}

.comm-content .display-medium {
    margin-bottom: 30px;
}

.comm-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.comm-icon-box {
    background: #d1dceb;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px;
}

.comm-icon-box:hover {
    border-color: var(--primary-color);
    background: #d1dceb;
    box-shadow: 0 10px 25px rgba(0, 140, 210, 0.1);
}

.comm-icon-box img {
    max-width: 90%;
    max-height: 85px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.comm-icon-box:hover img {
    transform: none;
}

@media (max-width: 991px) {
    .comm-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .comm-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .comm-icon-box:first-child {
        grid-column: span 2;
    }
}

/* Presence Section */
.presence-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.presence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.country-card {
    background: #fcfcfc;
    border: 1px solid var(--border-color);
    padding: 20px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
}

.country-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 140, 210, 0.05);
}

.country-flag {
    font-size: 1.8rem;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.country-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-black);
    text-align: left;
}

@media (max-width: 576px) {
    .presence-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .country-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .country-name {
        text-align: center;
        font-size: 0.85rem;
    }
}

/* About Section */
.about-agency {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-white) 0%, #f9fcff 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Buttons */
.btn-agency {
    padding: 20px 40px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-agency {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    color: var(--bg-white);
    border: none;
}

.btn-primary-agency:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005f8d 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 140, 210, 0.2);
}

.btn-secondary-agency {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary-agency:hover {
    background: var(--secondary-color);
    color: var(--bg-white);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(244, 128, 36, 0.2);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, #050505 0%, #000 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 140, 210, 0.1), transparent 70%);
    bottom: -300px;
    right: -200px;
    pointer-events: none;
}

.footer-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5); /* Better contrast than Bootstrap muted */
    margin-bottom: 20px;
    display: block;
}

.footer-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: block;
    margin: 8px 0;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Language Dropdown Customization */
.dropdown-menu {
    margin-top: 15px !important;
    padding: 10px;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    min-width: 200px;
}

.dropdown-item {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    color: var(--text-black);
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 20px;
}

.dropdown-item .fi {
    font-size: 1.1rem;
    border-radius: 2px;
}

.dropdown-toggle::after {
    display: none; /* Hide default arrow */
}

/* Hide Google Translate UI */
.skiptranslate,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-menu-value span:nth-child(2),
.goog-te-gadget-icon,
.goog-te-menu-value img {
    display: none !important;
}

body {
    top: 0px !important;
}

html {
    margin-top: 0px !important;
}

iframe.goog-te-banner-frame {
    display: none !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-agency {
        padding: 100px 0 40px;
    }
    section {
        padding: 40px 0;
    }
    .staggered-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px 0;
    }
    .product-item:nth-child(even) {
        margin-top: 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .product-visual {
        height: 350px;
    }
    .display-large {
        font-size: 2.5rem;
    }
    .navbar-brand img {
        height: 35px;
    }
    .navbar-collapse {
        background: #fff;
        margin-top: 15px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .product-info-overlay {
        padding: 50px 25px 30px;
    }
    .comm-layout {
        gap: 40px;
    }
    .comm-icon-box {
        height: 140px;
        padding: 15px;
    }
    .comm-icon-box img {
        max-height: 60px;
    }
    .presence-section {
        padding: 40px 0;
    }
    .presence-grid {
        margin-top: 30px;
    }
    .comm-section {
        padding: 60px 0;
    }
    .about-agency {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .display-large {
        font-size: 2.2rem;
    }
    .display-medium {
        font-size: 1.8rem;
    }
    .lead-agency {
        font-size: 1rem;
    }
    .btn-agency {
        padding: 15px 30px;
        width: 100%;
    }
}

.navbar .container-fluid {
    overflow: visible !important;
}
