:root {
    --primary-blue: #0077b6;
    --secondary-blue: #00b4d8;
    --accent-yellow: #ffb703;
    --dark-blue: #03045e;
    --light-bg: #f8fbff;
    --white: #ffffff;
    --text-color: #2b2d42;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    --border-radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    background-image: radial-gradient(#0077b605 1px, transparent 1px);
    background-size: 40px 40px;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.04) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 119, 0, 0.03) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Base Styles */
h1,
h2,
h3 {
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Header & Glass Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scrolled header {
    background: var(--glass);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    transition: all 0.3s ease;
}

.logo-dark {
    display: none;
}

.scrolled .logo-light {
    display: none;
}

.scrolled .logo-dark {
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.scrolled .nav-links a {
    color: var(--dark-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-yellow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

.lang-switch {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lang-switch img {
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    opacity: 0.8;
}

.lang-switch img:hover {
    transform: scale(1.15);
    opacity: 1;
}

.lang-switch a.active img {
    border-color: var(--accent-yellow);
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 119, 182, 0.5), rgba(3, 4, 94, 0.8)), url('../img/office_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}

.hero-mini {
    height: 55vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 100px;
}

.it-hero {
    background: linear-gradient(rgba(0, 119, 182, 0.6), rgba(3, 4, 94, 0.9)), url('../img/it_bg.png');
}

.iot-hero {
    background: linear-gradient(rgba(0, 119, 182, 0.6), rgba(3, 4, 94, 0.9)), url('../img/iot_bg.png');
}

.defence-hero {
    background: linear-gradient(rgba(0, 119, 182, 0.6), rgba(3, 4, 94, 0.9)), url('../img/defence_bg.png');
}

.flatrate-hero {
    background: linear-gradient(rgba(0, 119, 182, 0.6), rgba(3, 4, 94, 0.9)), url('../img/office_bg.png');
}

.hero-mini h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-mini p {
    font-size: 1.4rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero::after,
.hero-mini::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="1" d="M0,224L48,213.3C96,203,192,181,288,186.7C384,192,480,224,576,213.3C672,203,768,149,864,149.3C960,149,1056,203,1152,224C1248,245,1344,235,1392,229.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: 100% 100%;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 25px;
    color: white;
    line-height: 1;
    letter-spacing: -3px;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 1;
    font-weight: 500;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn {
    padding: 18px 45px;
    border-radius: 60px;
    font-weight: 800;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--dark-blue);
    box-shadow: 0 10px 30px rgba(255, 183, 3, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 183, 3, 0.5);
    background: #ffc300;
}

/* Services */
.services {
    padding: 180px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 110px;
}

.section-title h2 {
    font-size: 3.2rem;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 50px;
}

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    width: 100%;
    transition: transform 0.6s ease;
}

.service-card:hover .card-image {
    transform: scale(1.1);
}

.service-card .icon-box {
    margin-top: -45px;
    margin-left: 35px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3,
.service-card p,
.service-card .learn-more {
    padding-left: 35px;
    padding-right: 35px;
}

.service-card h3 {
    margin-top: 25px;
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(3, 4, 94, 0.12);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-blue) !important;
    display: block;
}

.icon-box {
    background: var(--white);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    margin-bottom: 35px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover .icon-box {
    background: var(--primary-blue);
}

.service-card:hover .icon-box i {
    color: var(--white) !important;
}

.learn-more {
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 35px;
}

.learn-more i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-card:hover .learn-more i {
    transform: translateX(8px);
}

/* About & Why Us Section */
#about img {
    transition: all 0.6s ease;
}

#about:hover img {
    transform: scale(1.03);
}

/* Contact Form */
#contactForm input,
#contactForm textarea {
    background: #fdfdfd;
    border: 2px solid #eee;
    padding: 18px 25px;
    border-radius: 15px;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 20px rgba(0, 119, 182, 0.1);
}

/* Footer */
footer {
    padding: 130px 0 90px;
    background: var(--dark-blue);
    color: white;
}

/* Chat Agent Widget */
.chat-widget {
    position: fixed;
    bottom: 45px;
    right: 45px;
    z-index: 2000;
}

.chat-button {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 20px 45px rgba(0, 119, 182, 0.35);
    color: var(--white);
    font-size: 2.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-button:hover {
    transform: rotate(15deg) scale(1.1);
    background: var(--dark-blue);
}

.chat-window {
    position: absolute;
    bottom: 100px;
    right: 0;
    width: 430px;
    height: 680px;
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 45px 120px rgba(0, 0, 0, 0.18);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 119, 182, 0.1);
    animation: slideInUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.chat-header {
    background: var(--dark-blue);
    color: var(--white);
    padding: 30px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.chat-messages {
    flex: 1;
    padding: 35px;
    overflow-y: auto;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.chat-input {
    border-top: 1px solid #eee;
    padding: 25px 35px;
    display: flex;
    background: var(--white);
    gap: 18px;
}

.chat-input input {
    flex: 1;
    border: 2px solid #f0f0f0;
    outline: none;
    padding: 14px 25px;
    border-radius: 35px;
    font-family: inherit;
}

.chat-input input:focus {
    border-color: var(--primary-blue);
}

.message {
    padding: 14px 22px;
    border-radius: 22px;
    max-width: 88%;
    font-size: 1rem;
    line-height: 1.6;
}

.bot-msg,
.assistant-msg {
    background: #f0f4f8;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

.user-msg {
    background: var(--primary-blue);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}

/* Typing Indicator Animation */
.typing-indicator {
    display: flex;
    padding: 14px 22px;
    background: #f0f4f8;
    border-radius: 22px 22px 22px 6px;
    width: fit-content;
    gap: 6px;
    margin-bottom: 5px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: bounce 1.3s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
}
/* Why Us Refinement */
.why-card { padding: 60px 40px !important; background: white !important; }
.why-card .icon-box { margin-top: 0 !important; margin-left: 0 !important; margin-bottom: 30px !important; border: 1px solid #f0f0f0; }

/* Steps Section */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.step-item { background: #fff; padding: 50px 40px; border-radius: var(--border-radius); border: 1px solid #eee; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; }
.step-item:hover { border-color: var(--primary-blue); transform: translateY(-10px); box-shadow: var(--shadow); }
.step-number { font-size: 3.5rem; font-weight: 900; color: rgba(0, 119, 182, 0.08); margin-bottom: 5px; line-height: 1; }
.step-item h3 { margin-bottom: 15px; color: var(--dark-blue); }
.step-item p { color: #666; line-height: 1.6; }

/* Dos & Donts Section */
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.dd-column { background: white; padding: 60px; border-radius: var(--border-radius); box-shadow: var(--shadow); border: 1px solid #f5f5f5; }
.dd-header { font-size: 1.8rem; font-weight: 800; margin-bottom: 40px; display: flex; align-items: center; gap: 15px; }
.dd-column.dos .dd-header { color: #1b4332; }
.dd-column.donts .dd-header { color: #800f2f; }
.dd-item { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 25px; font-size: 1.15rem; font-weight: 600; color: #333; }
.dd-item i { margin-top: 6px; font-size: 1rem; }
.dos .dd-item i { color: #2d6a4f; }
.donts .dd-item i { color: #c9184a; }

@media (max-width: 992px) {
    .dd-grid { grid-template-columns: 1fr; gap: 30px; }
    .steps-grid { grid-template-columns: 1fr; }
}

/* Contact Form Premium */
.contact-card { max-width: 600px; margin: 0 auto; background: white; padding: 50px; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.06); border: 1px solid #f0f0f0; }
.form-group { margin-bottom: 25px; }
.form-group input, .form-group textarea { width: 100%; padding: 18px 25px; border-radius: 15px; border: 2px solid #f5f5f5; font-family: inherit; font-size: 1rem; transition: all 0.3s ease; background: #fafafa; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary-blue); background: #fff; outline: none; box-shadow: 0 10px 20px rgba(0, 119, 182, 0.05); }
.contact-card .btn { width: 100%; border: none; cursor: pointer; }

/* Footer Styling */
.footer-logo img { height: 80px; margin-bottom: 40px; opacity: 0.9; }
.footer-bottom a { transition: opacity 0.3s ease; }
.footer-bottom a:hover { opacity: 1; color: var(--accent-yellow) !important; }

/* Section Overlays & Gradients */
.main-hero { background: linear-gradient(135deg, rgba(3, 4, 94, 0.9) 0%, rgba(0, 119, 182, 0.7) 100%), url('../img/hero.png'); background-size: cover; background-position: center; }
.steps-section { position: relative; overflow: hidden; }
.steps-section::before { content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0, 119, 182, 0.03) 0%, transparent 70%); }
.step-icon { margin-top: -10px; margin-bottom: 20px; font-size: 2rem; color: var(--primary-blue); opacity: 0.9; }
.step-item:hover .step-icon { transform: scale(1.1); transition: transform 0.3s ease; }
.footer-logo img { max-width: 150px; height: auto; }
.hero h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero p { text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.dos-donts-section { background: linear-gradient(to bottom, #fdfdfd, #f8fbff); }
.dd-column.dos { border-top: 5px solid #2d6a4f; }
.dd-column.donts { border-top: 5px solid #a4133c; }
.dd-item i { transition: transform 0.3s ease; }
.dd-item:hover i { transform: scale(1.2); }

/* Enhanced Contact Form */
.contact-card { padding: 80px 60px !important; max-width: 800px !important; }
.form-group input { padding: 22px 30px !important; font-size: 1.1rem !important; }
.form-group textarea { padding: 22px 30px !important; font-size: 1.1rem !important; height: 250px !important; }
.contact-card .btn { padding: 22px !important; font-size: 1.1rem !important; margin-top: 10px; }

/* Legal Pages */
.legal-text-wrapper h3 { margin: 40px 0 15px; font-size: 1.4rem; color: var(--dark-blue); }
.legal-text-wrapper p { margin-bottom: 20px; }
.legal-text-wrapper a { color: var(--primary-blue); font-weight: 600; text-decoration: underline; }

/* SEO & Performance Optimization */
img { content-visibility: auto; }
.content-section, .steps-section, .dos-donts-section { contain: content; }
