/* --- CSS Variables --- */
        :root {
            --brand-blue: #1e3a8a;
            --brand-red: #e1251b;
            --brand-yellow: #ffc107;
            --brand-light: #f8fafc;
            --brand-accent: #38bdf8;
            
            --text-main: #4b5563; /* Gray 600 */
            --text-dark: #1f2937; /* Gray 800 */
            --text-muted: #9ca3af; /* Gray 400 */
            
            --bg-white: #ffffff;
            --bg-blue-50: #eff6ff;
            --bg-dark: #111827; /* Gray 900 */
            
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            
            --border-radius-lg: 1rem;
            --border-radius-xl: 1.5rem;
            
            --transition: all 0.3s ease;
        }

        /* --- Reset & Base --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-family: 'Nunito', sans-serif;
            color: var(--text-main);
            background-color: var(--brand-light);
            overflow-x: hidden;
        }

        body {
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* --- Typography --- */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 900;
            line-height: 1.2;
        }
        
        .text-brand-blue { color: var(--brand-blue); }
        .text-brand-red { color: var(--brand-red); }
        .text-brand-yellow { color: var(--brand-yellow); }
        .text-white { color: var(--bg-white); }
        .text-center { text-align: center; }
        
        .title-sm {
            font-size: 0.875rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--brand-red);
            display: block;
            margin-bottom: 0.5rem;
        }

        /* --- Layout & Grid --- */
        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        @media (min-width: 640px) { .container { padding: 0 1.5rem; } }
        @media (min-width: 1024px) { .container { padding: 0 2rem; } }

        .section { padding: 4rem 0; }
        @media (min-width: 1024px) { .section { padding: 5rem 0; } }

        .grid {
            display: grid;
            gap: 2rem;
        }

        .grid-2 { grid-template-columns: 1fr; }
        .grid-3 { grid-template-columns: 1fr; }
        .grid-4 { grid-template-columns: 1fr; }

        @media (min-width: 768px) {
            .grid-2 { grid-template-columns: repeat(2, 1fr); }
            .grid-3 { grid-template-columns: repeat(3, 1fr); }
            .grid-4 { grid-template-columns: repeat(2, 1fr); }
        }
        @media (min-width: 1024px) {
            .grid-4 { grid-template-columns: repeat(4, 1fr); }
        }

        /* --- Preloader --- */
        #preloader {
            position: fixed;
            inset: 0;
            z-index: 1000;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s ease;
        }

        .spinner-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .spinner-bg {
            position: absolute;
            width: 6rem;
            height: 6rem;
            border: 4px solid #f3f4f6;
            border-radius: 50%;
        }

        .spinner-active {
            position: absolute;
            width: 6rem;
            height: 6rem;
            border: 4px solid var(--brand-blue);
            border-top-color: var(--brand-red);
            border-right-color: var(--brand-yellow);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .spinner-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            color: white;
            font-weight: 900;
            font-size: 1.5rem;
            z-index: 10;
        }

        /* --- Navigation --- */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 50;
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #f3f4f6;
            transition: var(--transition);
        }

        .navbar.scrolled {
            box-shadow: var(--shadow-md);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 5rem;
        }

        .logo-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

        .logo-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            color: white;
            font-weight: 900;
            font-size: 1.25rem;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .logo-text-main {
            font-weight: 900;
            font-size: 1.25rem;
            color: var(--brand-blue);
            text-transform: uppercase;
            line-height: 1;
        }

        .logo-text-sub {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-top: 0.125rem;
        }

        .nav-links {
            display: none;
            align-items: center;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .nav-links { display: flex; }
        }

        .nav-link {
            font-weight: 700;
            color: var(--text-main);
            transition: color 0.2s;
        }

        .nav-link:hover { color: var(--brand-blue); }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 2rem;
            border-radius: 9999px;
            font-weight: 800;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
            border: none;
            font-size: 1rem;
        }

        .btn:hover { transform: translateY(-2px); }

        .btn-red {
            background-color: var(--brand-red);
            color: white;
            box-shadow: 0 4px 14px 0 rgba(225, 37, 27, 0.39);
        }
        .btn-red:hover { background-color: #c91f16; }

        .btn-blue {
            background-color: var(--brand-blue);
            color: white;
            box-shadow: 0 4px 14px 0 rgba(30, 58, 138, 0.39);
        }
        .btn-blue:hover { background-color: #152c6b; }

        .mobile-menu-btn {
            display: block;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--brand-blue);
            cursor: pointer;
        }

        @media (min-width: 768px) {
            .mobile-menu-btn { display: none; }
        }

        .mobile-menu {
            display: none;
            position: absolute;
            top: 5rem;
            left: 0;
            width: 100%;
            background-color: white;
            border-top: 1px solid #f3f4f6;
            box-shadow: var(--shadow-xl);
            padding: 1rem;
            text-align: center;
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-link {
            display: block;
            padding: 0.75rem;
            font-weight: 700;
            color: var(--text-dark);
            border-radius: var(--border-radius-lg);
            margin-bottom: 0.25rem;
        }

        .mobile-link:hover {
            background-color: var(--bg-blue-50);
            color: var(--brand-blue);
        }

        /* --- Hero Section --- */
        .hero {
            position: relative;
            padding-top: 9rem;
            padding-bottom: 5rem;
            overflow: hidden;
            text-align: center;
        }

        .blobs {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .blob {
            position: absolute;
            width: 18rem;
            height: 18rem;
            border-radius: 50%;
            filter: blur(40px);
            opacity: 0.5;
            mix-blend-mode: multiply;
            animation: blob 7s infinite;
        }

        .blob-1 { top: -2rem; left: 10%; background-color: #e9d5ff; }
        .blob-2 { top: 2rem; right: 10%; background-color: #fef08a; animation-delay: 2s; }

        .hero-title {
            font-size: 2.25rem;
            color: var(--brand-blue);
            margin-bottom: 1rem;
        }

        @media (min-width: 768px) { .hero-title { font-size: 3rem; } }
        @media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

        .text-gradient {
            background: linear-gradient(to right, var(--brand-red), var(--brand-yellow));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-subtitle {
            font-size: 1.125rem;
            max-width: 42rem;
            margin: 0 auto;
        }

        /* --- Sections & Cards --- */
        .bg-white { background-color: var(--bg-white); }
        .bg-blue-50 { background-color: var(--bg-blue-50); }
        
        .section-header { text-align: center; margin-bottom: 3rem; }
        @media (min-width: 768px) { .section-header { margin-bottom: 4rem; } }

        .section-title { font-size: 1.875rem; color: var(--brand-blue); margin-bottom: 1rem; }
        @media (min-width: 768px) { .section-title { font-size: 2.25rem; } }

        .rainbow-divider {
            height: 6px;
            background: linear-gradient(90deg, var(--brand-red) 0%, var(--brand-yellow) 33%, #4ade80 66%, var(--brand-blue) 100%);
            border-radius: 999px;
            width: 80px;
            margin: 1rem auto;
        }

        .services-bg-pattern {
            position: absolute;
            inset: 0;
            opacity: 0.05;
            background-image: radial-gradient(var(--brand-blue) 2px, transparent 2px);
            background-size: 30px 30px;
        }

        /* --- About Split Section --- */
        .about-split { align-items: center; margin-bottom: 2rem; }
        .about-img-wrapper { 
            border-radius: var(--border-radius-xl); 
            overflow: hidden; 
            box-shadow: var(--shadow-xl); 
            border: 8px solid white; 
        }
        .about-img { 
            width: 100%; 
            height: 100%; 
            min-height: 400px;
            object-fit: cover; 
            object-position: center top;
            transition: transform 0.5s ease; 
        }
        .about-img-wrapper:hover .about-img { transform: scale(1.05); }
        .about-subtitle { font-size: 1.875rem; color: var(--brand-blue); margin-bottom: 1rem; }
        .about-description { font-size: 1.125rem; color: var(--text-main); line-height: 1.8; margin-bottom: 1.5rem; }

        /* --- Services --- */
        .service-card {
            background-color: white;
            border-radius: var(--border-radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .service-card:hover { box-shadow: var(--shadow-xl); }
        .service-card:hover .service-img { transform: scale(1.1); }

        .service-img-wrapper {
            height: 12rem;
            position: relative;
            overflow: hidden;
        }

        .service-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .service-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(30,58,138,0.8), transparent);
            opacity: 0.6;
        }

        .service-icon {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            font-size: 1.875rem;
            color: white;
        }

        .service-content {
            padding: 2rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            border-bottom: 4px solid;
            border-image: linear-gradient(90deg, var(--brand-red), var(--brand-yellow), var(--brand-accent), var(--brand-blue)) 1;
        }

        .service-title { font-size: 1.25rem; color: var(--brand-blue); margin-bottom: 0.75rem; }
        .service-desc { margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }

        .service-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--brand-red);
            font-weight: 700;
            cursor: pointer;
            border: none;
            background: none;
            font-size: 1rem;
            padding: 0;
        }
        .service-link:hover { color: #b91c1c; }

        /* --- Modal Styles --- */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(17, 24, 39, 0.75);
            backdrop-filter: blur(4px);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-container {
            background-color: white;
            width: 100%;
            max-width: 600px;
            border-radius: var(--border-radius-xl);
            box-shadow: var(--shadow-xl);
            transform: translateY(30px) scale(0.95);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            overflow: hidden;
            border-top: 6px solid var(--brand-blue);
        }

        .modal-overlay.active .modal-container {
            transform: translateY(0) scale(1);
        }

        .modal-header {
            padding: 1.5rem 2rem;
            border-bottom: 1px solid #f3f4f6;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title-group {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .modal-icon {
            width: 3rem;
            height: 3rem;
            background-color: var(--bg-blue-50);
            color: var(--brand-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
        }

        .modal-title {
            font-size: 1.5rem;
            color: var(--brand-blue);
            font-weight: 800;
        }

        .modal-close {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.2s;
            padding: 0.5rem;
        }

        .modal-close:hover {
            color: var(--brand-red);
        }

        .modal-body {
            padding: 2rem;
            font-size: 1.125rem;
            line-height: 1.7;
            color: var(--text-main);
            max-height: 60vh;
            overflow-y: auto;
        }

        .modal-footer {
            padding: 1.5rem 2rem;
            background-color: var(--brand-light);
            border-top: 1px solid #f3f4f6;
            display: flex;
            justify-content: flex-end;
        }

        .modal-btn {
            width: 100%;
        }
        @media (min-width: 640px) {
            .modal-btn { width: auto; }
        }

        /* --- Footer --- */
        .footer {
            background-color: var(--bg-dark);
            color: #d1d5db;
            padding: 3rem 0;
            border-top: 8px solid;
            border-image: linear-gradient(90deg, var(--brand-red), var(--brand-yellow), var(--brand-accent), var(--brand-blue)) 1;
        }

        .footer-logo-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .footer-logo-icon {
            width: 2rem;
            height: 2rem;
            border-radius: 50%;
            background-color: white;
            color: var(--brand-blue);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 1.125rem;
        }

        .footer-logo-text { font-weight: 900; font-size: 1.25rem; color: white; text-transform: uppercase; }
        .footer-logo-sub { font-size: 0.875rem; font-weight: 400; color: #9ca3af; text-transform: capitalize; }

        .footer-desc { font-size: 0.875rem; color: #9ca3af; margin-bottom: 1.5rem; max-width: 24rem; }

        .social-links { display: flex; gap: 1rem; }
        .social-icon {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            background-color: #1f2937;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        .social-icon:hover { background-color: var(--brand-blue); color: white; }

        .footer-heading { color: white; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.05em; }

        .footer-links li { margin-bottom: 0.5rem; font-size: 0.875rem; }
        .footer-links a:hover { color: var(--brand-yellow); }

        .working-hours li { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.875rem; color: #9ca3af; }

        .footer-bottom {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid #1f2937;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            font-size: 0.75rem;
            color: #6b7280;
        }
        @media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
        
        .footer-legal a { margin-left: 1rem; }
        .footer-legal a:hover { color: white; }

        /* --- Floating Action Button (FAB) --- */
        .fab-container {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            z-index: 90;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }
        @media (min-width: 768px) {
            .fab-container {
                bottom: 2rem;
                right: 2rem;
            }
        }

        .fab-menu {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .fab-menu.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .fab-item {
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.25rem;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            text-decoration: none;
            position: relative;
        }
        
        .fab-item::before {
            content: attr(data-tooltip);
            position: absolute;
            right: 4rem;
            background-color: var(--text-dark);
            color: white;
            font-size: 0.75rem;
            font-weight: 700;
            padding: 0.25rem 0.75rem;
            border-radius: 0.5rem;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease;
            pointer-events: none;
        }
        
        .fab-item:hover::before {
            opacity: 1;
            visibility: visible;
        }

        .fab-item:hover { transform: scale(1.1); }
        .fab-whatsapp { background-color: #25D366; }
        .fab-call { background-color: var(--brand-red); }
        .fab-email { background-color: var(--brand-yellow); color: var(--brand-blue); }

        .fab-main {
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 50%;
            background-color: var(--brand-blue);
            color: white;
            border: none;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-lg);
            cursor: pointer;
            transition: transform 0.3s ease, background-color 0.3s ease;
        }
        @media (min-width: 768px) {
            .fab-main { width: 4rem; height: 4rem; font-size: 1.75rem; }
        }

        .fab-main:hover {
            transform: scale(1.05);
            background-color: #152c6b;
        }
        .fab-main i {
            transition: transform 0.3s ease;
        }
        .fab-main.active i {
            transform: rotate(135deg);
        }

        /* --- Utility & Animations --- */
        .relative { position: relative; }
        .z-10 { z-index: 10; }

        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }
        .delay-100 { transition-delay: 100ms; }
        .delay-200 { transition-delay: 200ms; }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes blob {
            0% { transform: translate(0px, 0px) scale(1); }
            33% { transform: translate(30px, -50px) scale(1.1); }
            66% { transform: translate(-20px, 20px) scale(0.9); }
            100% { transform: translate(0px, 0px) scale(1); }
        }