* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fbfe;
    color: #1c3a5a;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

:root {
    --primary-dark: #0f3f5e;
    --primary-medium: #1f5a82;
    --primary-light: #ecf3fa;
    --accent-blue: #26648b;
    --text-dark: #152b42;
    --text-soft: #2f506d;
    --white-glass: rgba(255, 255, 255, 0.75);
    --shadow-sm: 0 8px 20px -6px rgba(0, 30, 60, 0.08);
    --shadow-md: 0 20px 35px -16px rgba(0,45,70,0.15);
    --border-light: rgba(25, 85, 130, 0.15);
    --announcement-bg: linear-gradient(95deg, #1f5a82, #103856);
}

.text-gradient {
    background: linear-gradient(145deg, #0f3f5e, #81caf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    background: white;
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    color: #1d4463;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 35, 60, 0.04);
    transition: all 0.2s;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-dark);
    color: white;
    border: none;
    box-shadow: 0 10px 22px -8px rgba(15,63,94,0.5);
}

.btn-primary:hover {
    background: #154f74;
    transform: scale(1.02);
    box-shadow: 0 16px 24px -8px rgba(15,63,94,0.6);
}

.btn-outline {
    background: transparent;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: white;
    border-color: var(--primary-medium);
}

.navbar {
    background: var(--white-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 35, 70, 0.08);
    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    background: linear-gradient(145deg, #0b2b42, #1f4e7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
    background: linear-gradient(145deg, #6cbdff, #0f344f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 44px;
    font-weight: 500;
}

.nav-links a {
    text-decoration: none;
    color: #1c3f5c;
    font-size: 1.05rem;
    transition: 0.2s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-links a:hover {
    border-bottom-color: #1f5e96;
    color: #0a3147;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: #1c3a5a;
    cursor: pointer;
    background: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 9999;
    padding: 80px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f5fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #1c3a5a;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.mobile-menu-links a {
    text-decoration: none;
    color: #1c3a5a;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.2s;
}

.mobile-menu-links a:hover {
    color: #ff3636;
}

.mobile-menu-social {
    display: flex;
    gap: 25px;
    margin-top: 50px;
}

.mobile-menu-social a {
    color: #1c3a5a;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.mobile-menu-social a:hover {
    color: #ff3636;
}

.announcement-bar {
    background: var(--announcement-bg);
    color: white;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 99;
    box-shadow: 0 6px 14px rgba(0,40,70,0.2);
    width: 100%;
}

.announcement-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.1rem;
}

.announcement-icon {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.announcement-text strong {
    font-weight: 700;
    margin-right: 6px;
}

.announcement-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: 0.2s;
    padding: 0 8px;
}

.announcement-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.hero {
    padding: 50px 0 80px;
    position: relative;
    background: #f5faff;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(15, 63, 94, 0.08) 0px, rgba(15, 63, 94, 0.08) 2px, transparent 2px, transparent 20px);
    animation: patternMove 60s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(31, 90, 130, 0.05) 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, rgba(15, 63, 94, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1 1 500px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    background: #e1ecf5;
    color: #113853;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero-content h1 {
    font-size: 3.1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: #0a2538;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #2e4b67;
    max-width: 520px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #103856;
}

.stat-item p {
    font-size: 0.95rem;
    color: #4d657b;
    margin-bottom: 0;
}

.hero-visual {
    flex: 0 1 450px;
    max-width: 450px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.code-card {
    background: #0f2638;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 40px 50px -20px rgba(0,45,70,0.4);
    color: #bcd9f0;
    font-family: 'Menlo', 'Fira Code', monospace;
    border: 1px solid #2f4b66;
}

.code-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
}

.dot {
    width: 10px;
    height: 10px;
    background: #47a3ff;
    border-radius: 20px;
    box-shadow: 0 0 10px #6db6ff;
}

.tag {
    color: #9ac9ff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.left {
    text-align: left;
}

.section-subtitle {
    color: #26648b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #103856;
    margin: 10px 0 20px;
}

.section-title span {
    color: #26648b;
}

.section-description {
    max-width: 680px;
    margin: 0 auto;
    color: #2f506d;
    font-size: 1.15rem;
}

.services-section {
    margin: 80px 0 40px;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

.service-card.large {
    background: white;
    border-radius: 28px;
    padding: 40px 30px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transition: 0.2s;
    height: 100%;
}

.service-card.large:hover {
    border-color: rgba(30, 110, 180, 0.3);
    box-shadow: 0 28px 44px -12px rgba(15,63,94,0.2);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    color: #1e5379;
}

.service-card h3 {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1c3f5c;
}

.service-features {
    list-style: none;
    margin-top: 24px;
}

.service-features li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2b506e;
}

.service-features i {
    color: #1f5e96;
    font-size: 1.2rem;
}

.process-section {
    background: white;
    border-radius: 48px;
    padding: 60px 40px;
    margin: 80px 0;
    border: 1px solid var(--border-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.process-item {
    padding: 0 16px;
}

.process-num {
    font-size: 3rem;
    font-weight: 700;
    color: #d2e5f5;
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}

.process-item h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #0f3b58;
}

.showcase {
    background: #e9f2fa;
    border-radius: 80px 80px 40px 40px;
    margin: 80px 0;
    padding: 70px 40px;
    width: 100%;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project {
    background: white;
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0,35,60,0.05);
    border: 1px solid rgba(90, 140, 190, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.project:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(15,63,94,0.2);
    border-color: var(--primary-medium);
}

.project-img {
    background: transparent;
    height: 160px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.project:hover .project-img img {
    transform: scale(1.05);
}

.project h4 {
    font-size: 1.5rem;
    margin: 0 0 6px;
    color: #103856;
    text-transform: capitalize;
}

.project-tag {
    color: #2b648b;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
}

.project-desc {
    color: #3f5c78;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.insights-section {
    margin: 100px 0;
    padding: 0 20px;
    width: 100%;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 50px 0 40px;
}

.insight-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 110, 180, 0.3);
}

.insight-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.insight-content {
    padding: 28px;
    flex: 1;
}

.insight-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.insight-content h4 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #103856;
}

.insight-excerpt {
    color: #4d657b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.insight-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #6d8aa8;
}

.insight-meta i {
    margin-right: 5px;
}

.insight-link {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.insight-link:hover {
    color: var(--primary-medium);
    gap: 12px;
}

.insights-footer {
    text-align: center;
    margin-top: 40px;
}

.team-note {
    background: #0d2d44;
    border-radius: 48px;
    padding: 60px 50px;
    margin: 80px 0;
    color: white;
    background-image: radial-gradient(circle at 100% 0%, #23577b, #0a2538);
    width: 100%;
}

.team-content h2 {
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.team-content p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 600px;
    margin-bottom: 30px;
}

.team-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.team-badges span {
    background: rgba(255,255,255,0.12);
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 1.1rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.team-badges i {
    margin-right: 8px;
}

.clients {
    text-align: center;
    margin: 60px 0 40px;
    width: 100%;
}

.clients-label {
    color: #4d6f8b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 60px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #2b628b;
    opacity: 0.8;
}

.faq-section {
    margin: 100px 0;
    width: 100%;
}

.faq-grid {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.faq-question h4 {
    color: #103856;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    cursor: pointer;
}

.faq-question i {
    color: var(--primary-medium);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 25px;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    background: #f8fbfe;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p {
    color: #4d657b;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.contact-section {
    display: flex;
    flex-wrap: wrap;
    background: #0d2d44;
    border-radius: 48px;
    padding: 60px 50px;
    margin: 100px 0;
    color: white;
    align-items: center;
    justify-content: space-between;
    background-image: radial-gradient(circle at 100% 0%, #23577b, #0a2538);
    width: 100%;
}

.contact-text h2 {
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.contact-text p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 500px;
}

.contact-btn {
    background: white;
    color: #0f3f5e;
    font-size: 1.2rem;
    padding: 16px 48px;
    border-radius: 60px;
    font-weight: 600;
    border: none;
    box-shadow: 0 16px 30px -10px rgba(0,0,0,0.3);
    transition: 0.2s;
    cursor: pointer;
}

.contact-btn:hover {
    background: #f0f8ff;
    transform: scale(1.02);
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 63, 94, 0.9);
    backdrop-filter: blur(5px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-container {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 24px;
    padding: 35px 30px;
    position: relative;
    margin: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f5fa;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c3a5a;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.popup-close:hover {
    background: #ff3636;
    color: white;
}

.popup-header {
    text-align: center;
    margin-bottom: 25px;
}

.popup-header h2 {
    font-size: 1.8rem;
    color: #103856;
    margin-bottom: 8px;
    font-weight: 700;
}

.popup-header h2 span {
    color: #ff3636;
}

.popup-header p {
    color: #4d657b;
    font-size: 0.9rem;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1c3a5a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label span {
    color: #ff3636;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e9f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: #f8fbfe;
    color: #1c3a5a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1f5a82;
    background: white;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231f5a82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.popup-submit {
    background: #ff3636;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-submit:hover {
    background: #e62e2e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 54, 54, 0.3);
}

.popup-submit i {
    transition: transform 0.3s ease;
}

.popup-submit:hover i {
    transform: translateX(5px);
}

.form-success {
    text-align: center;
    padding: 30px 0;
}

.form-success i {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 15px;
}

.form-success h3 {
    font-size: 2rem;
    color: #103856;
    margin-bottom: 10px;
}

.form-success p {
    color: #4d657b;
}

.footer {
    background: #f8fbfe;
    border-top: 1px solid rgba(25, 75, 120, 0.15);
    padding: 60px 0 40px;
    width: 100%;
    margin-top: 60px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #2b628b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: #0e3d5e;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.location strong {
    color: #1d4a6e;
    font-size: 1rem;
    font-weight: 600;
}

.location span {
    color: #4d657b;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links a {
    color: #2b628b;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #0e3d5e;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-social a {
    color: #2b628b;
    font-size: 1.4rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-social a:hover {
    color: #0e3d5e;
    transform: translateY(-3px);
}

.footer-copyright {
    color: #4d657b;
    font-size: 0.9rem;
    margin: 0;
    text-align: right;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #20B859;
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.legal-page {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

.legal-page h1 {
    font-size: 2.5rem;
    color: #103856;
    margin-bottom: 10px;
}

.legal-date {
    color: #4d657b;
    margin-bottom: 50px;
    font-style: italic;
}

.legal-page section {
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.5rem;
    color: #1f5a82;
    margin-bottom: 15px;
}

.legal-page p, .legal-page li {
    color: #2f506d;
    line-height: 1.7;
}

.legal-page ul {
    padding-left: 20px;
    margin: 15px 0;
}

.legal-page li {
    margin-bottom: 8px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-container {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, white, transparent);
}

.modal-category {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--primary-dark);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 5;
}

.modal-content {
    padding: 40px;
    max-height: calc(90vh - 300px);
    overflow-y: auto;
}

.modal-content h2 {
    font-size: 2.2rem;
    color: #103856;
    margin-bottom: 20px;
    line-height: 1.3;
}

.modal-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    color: #4d657b;
    font-size: 0.95rem;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(25, 75, 120, 0.1);
}

.modal-meta i {
    margin-right: 8px;
    color: var(--primary-medium);
}

.modal-body {
    color: #2f506d;
    line-height: 1.8;
}

.modal-body p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.modal-body h3 {
    color: #103856;
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.modal-body ul, .modal-body ol {
    margin: 20px 0;
    padding-left: 25px;
}

.modal-body li {
    margin-bottom: 10px;
}

.modal-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(25, 75, 120, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-share span {
    color: #1d4a6e;
    font-weight: 600;
}

.modal-share a {
    color: #2b628b;
    font-size: 1.3rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.modal-share a:hover {
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .footer-main {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
        margin-bottom: 20px;
    }
    .footer-contact {
        grid-column: 1 / 2;
    }
    .footer-locations {
        grid-column: 2 / 3;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        flex-direction: column;
        gap: 30px;
    }
    .hero-content {
        text-align: center;
        flex: 1 1 auto;
        width: 100%;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
        padding: 20px 0;
    }
    .code-card {
        max-width: 500px;
        margin: 0 auto;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-contact {
        grid-column: 1 / 2;
    }
    .footer-locations {
        grid-column: 2 / 3;
        justify-content: flex-start;
    }
    .footer-links {
        justify-content: flex-start;
    }
    .footer-copyright {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.2rem;
    }
    
    .navbar .btn-outline {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 30px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 1 120px;
    }
    
    .stat-item h3 {
        font-size: 1.6rem;
    }
    
    .code-card {
        padding: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-item {
        text-align: center;
    }
    
    .showcase {
        padding: 40px 20px;
        border-radius: 40px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .project {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .team-note {
        padding: 40px 20px;
        border-radius: 30px;
    }
    
    .team-content h2 {
        font-size: 2rem;
    }
    
    .team-badges {
        justify-content: center;
        gap: 15px;
    }
    
    .team-badges span {
        font-size: 0.9rem;
        padding: 6px 16px;
    }
    
    .contact-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }
    
    .contact-text h2 {
        font-size: 2rem;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer {
        padding: 40px 0 30px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
        align-items: center;
    }
    
    .footer-locations {
        grid-column: 1 / -1;
        justify-content: center;
        flex-direction: row;
        gap: 40px;
    }
    
    .location {
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .modal-header {
        height: 200px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-content h2 {
        font-size: 1.8rem;
    }
    
    .modal-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .popup-container {
        padding: 25px 20px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .service-card.large {
        padding: 30px 20px;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .process-section {
        padding: 40px 20px;
    }
    
    .project {
        padding: 20px;
    }
    
    .project h4 {
        font-size: 1.3rem;
    }
    
    .insight-content {
        padding: 20px;
    }
    
    .insight-content h4 {
        font-size: 1.2rem;
    }
    
    .insight-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .team-content h2 {
        font-size: 1.6rem;
    }
    
    .team-content p {
        font-size: 1rem;
    }
    
    .client-logos {
        gap: 20px;
        font-size: 1.2rem;
    }
    
    .code-card {
        padding: 20px;
    }
    
    .code-line {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .footer-locations {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-links a {
        white-space: normal;
    }
    
    .footer-logo-img {
        height: 90px;
    }
    
    .modal-header {
        height: 150px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-body p {
        font-size: 1rem;
    }
    
    .popup-header h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .project-img {
        height: 120px;
    }
    
    .project h4 {
        font-size: 1.2rem;
    }
}