* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #111827;
    overflow-x: hidden;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.preloader-ring {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}
.ring-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #2563eb;
    border-right: 4px solid #7c3aed;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.preloader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}
.preloader-text {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
    letter-spacing: 2px;
    animation: fadePulse 1.2s infinite alternate;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes fadePulse {
    0% { opacity: 0.5; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}
/* ========== /PRELOADER ========== */
header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 20px;
}
/* ========== LOGO WITH "ATHU PATA RAWUMA" (PILL SHAPE + RING EFFECT) ========== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Pill shape / ring background */
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 60px;
    padding: 6px 20px 6px 16px;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.logo:hover {
    transform: scale(1.02);
    background: rgba(37, 99, 235, 0.12);
    border-color: #2563eb;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}
.logo-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}
.logo-text {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}
/* ========== /LOGO ========== */
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a { text-decoration: none; font-weight: 500; color: #1f2937; transition: 0.2s; }
.nav-links a:hover { color: #2563eb; }
.header-tools {
    display: flex;
    align-items: center;
    gap: 20px;
}
.weather-widget {
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
}
.search-widget {
    position: relative;
}
.search-widget input {
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
    width: 180px;
}
.search-widget i {
    position: absolute;
    right: 12px;
    top: 10px;
    color: #94a3b8;
}
.menu-toggle { display: none; font-size: 26px; background: none; border: none; cursor: pointer; }
.hero { padding: 80px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-content { flex: 1; }
.hero-content h1 { font-size: 3.2rem; font-weight: 800; margin-bottom: 16px; }
.typed-wrapper {
    font-size: 1.3rem;
    color: #4b5563;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.typed-prefix {
    font-weight: 500;
}
.typed-words {
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    min-width: 150px;
}
.btn-primary {
    background: #2563eb; 
    color: white; 
    padding: 12px 28px; 
    border-radius: 40px;
    font-weight: 600; 
    border: none; 
    cursor: pointer; 
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
    margin-bottom: 16px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,0.3); }
.hero-subtext {
    font-size: 1.1rem;
    color: #4b5563;
    margin-top: 5px;
}
.hero-image i { font-size: 260px; color: #e0e7ff; }
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; }
.section-sub { text-align: center; color: #6b7280; margin-bottom: 60px; }
.cards-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.service-card {
    background: #f9fafb; border-radius: 28px; padding: 36px 28px;
    flex: 1 1 260px; text-align: center; transition: 0.3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1); }
.service-icon { font-size: 48px; color: #2563eb; margin-bottom: 20px; }
.swiper {
    width: 100%;
    padding: 20px 0 60px;
}
.swiper-slide {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 25px -10px rgba(0,0,0,0.05);
    border: 1px solid #eef2ff;
    transition: 0.2s;
}
.swiper-slide:hover { transform: scale(1.02); border-color: #2563eb; }
.project-img {
    background: #eef2ff;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: #3b82f6;
}
.project-info { padding: 20px; }
.project-info h3 { margin-bottom: 8px; }
.swiper-button-next, .swiper-button-prev {
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 20px; font-weight: bold; }
.swiper-pagination-bullet-active { background: #2563eb; }
.carousel-info { text-align: center; margin-top: 10px; font-weight: 500; }
.project-search-bar { text-align: center; margin-bottom: 20px; }
.project-search-bar input { padding: 10px 20px; width: 280px; border-radius: 60px; border: 1px solid #cbd5e1; }
.bottom-info-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    z-index: 200;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 15px;
}
.copyright-text {
    font-family: monospace;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.center-info {
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 6px 20px;
    border-radius: 60px;
    font-family: monospace;
}
.separator {
    color: #94a3b8;
    font-size: 1.1rem;
}
.center-info i {
    margin-right: 6px;
    color: #60a5fa;
}
.testimonial-card {
    background: #fefce8; border-radius: 32px; padding: 32px; max-width: 700px;
    margin: 0 auto; text-align: center;
}
.counter-number { font-size: 3rem; font-weight: 800; color: #2563eb; }
.contact-form { max-width: 600px; margin: 0 auto; background: #fff; padding: 40px; border-radius: 40px; box-shadow: 0 10px 25px rgba(0,0,0,0.02); border: 1px solid #eef2ff; }
input, textarea { width: 100%; margin-bottom: 20px; padding: 14px; border-radius: 30px; border: 1px solid #e2e8f0; }
@media (max-width: 860px) {
    .nav-links { display: none; flex-direction: column; width: 100%; text-align: center; padding: 20px 0; }
    .nav-links.show { display: flex; }
    .menu-toggle { display: block; }
    .header-tools { order: 3; width: 100%; justify-content: space-between; margin-top: 10px; }
    .bottom-info-bar { flex-direction: column; text-align: center; padding: 10px 20px; }
    .center-info { justify-content: center; }
    .typed-wrapper { font-size: 1rem; }
    .logo-text { font-size: 20px; }
    .logo-icon { width: 26px; height: 26px; }
    .logo { padding: 4px 14px 4px 12px; }
}