/* ============ Raghavendra Techno Services – theme from logo ============ */
:root {
    --navy: #163a8f;
    --navy-dark: #0b1f4f;
    --navy-deep: #07163a;
    --blue: #1e4fc2;
    --teal: #13998a;
    --teal-light: #22b8a4;
    --amber: #f3a72c;
    --amber-dark: #e08e10;
    --ink: #1b2440;
    --muted: #5d6784;
    --bg-alt: #f3f6fc;
    --radius: 16px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, .footer-name { font-family: 'Montserrat', sans-serif; }

/* ---------- Buttons ---------- */
.btn { border-radius: 50px; font-weight: 600; padding: .65rem 1.4rem; }
.btn-lg { padding: .85rem 1.8rem; font-size: 1rem; }
.btn-amber { background: var(--amber); color: var(--navy-deep); border: 0; box-shadow: 0 8px 22px rgba(243,167,44,.35); }
.btn-amber:hover, .btn-amber:focus { background: var(--amber-dark); color: var(--navy-deep); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; border: 0; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-outline-light { border-width: 2px; }

/* ---------- Navbar ---------- */
.navbar { padding: .9rem 0; background: rgba(255,255,255,.96); transition: all .3s ease; }
.navbar.scrolled { padding: .45rem 0; box-shadow: 0 6px 24px rgba(11,31,79,.1); }
.brand-logo { height: 62px; width: auto; transition: height .3s; }
.navbar.scrolled .brand-logo { height: 50px; }
.navbar .nav-link { color: var(--ink); font-weight: 500; margin: 0 .35rem; position: relative; }
.navbar .nav-link::after {
    content: ''; position: absolute; left: .5rem; right: .5rem; bottom: .2rem; height: 2px;
    background: var(--teal); transform: scaleX(0); transition: transform .25s;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--navy); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; font-size: 1.9rem; color: var(--navy); padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 140px 0 140px; color: #fff; overflow: hidden;
    background: linear-gradient(130deg, var(--navy-deep) 0%, var(--navy-dark) 45%, #123c8a 100%);
}
.hero-bg {
    position: absolute; inset: 0; opacity: .5;
    background:
        radial-gradient(600px 400px at 85% 20%, rgba(34,184,164,.35), transparent 60%),
        radial-gradient(500px 350px at 10% 90%, rgba(243,167,44,.18), transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%2322b8a4' stroke-opacity='.18' stroke-width='1.2'%3E%3Cpath d='M0 30h40l10 10h30l10-10h30'/%3E%3Cpath d='M0 90h20l10-10h40l10 10h40'/%3E%3Cpath d='M60 0v20l-10 10v20'/%3E%3C/g%3E%3Cg fill='%2322b8a4' fill-opacity='.3'%3E%3Ccircle cx='40' cy='30' r='2.5'/%3E%3Ccircle cx='80' cy='40' r='2.5'/%3E%3Ccircle cx='70' cy='80' r='2.5'/%3E%3Ccircle cx='50' cy='50' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-waves { position: absolute; bottom: -1px; left: 0; width: 100%; height: 140px; }
.hero-waves path { fill: #fff; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
    padding: .5rem 1rem; border-radius: 50px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
}
.eyebrow i { color: var(--amber); }
.hero-title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; line-height: 1.08; margin: 1.4rem 0 1.2rem; }
.text-gradient {
    background: linear-gradient(90deg, var(--teal-light), #5fd4c3 50%, var(--amber));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.78); max-width: 600px; line-height: 1.7; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; color: rgba(255,255,255,.85); font-weight: 500; }
.hero-chips i { color: var(--teal-light); margin-right: .3rem; }

.hero-card {
    background: rgba(255,255,255,.07); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15); border-radius: 22px; padding: 1.5rem; box-shadow: 0 30px 60px rgba(0,0,0,.25);
    animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-card-head { display: flex; align-items: center; gap: .4rem; margin-bottom: 1rem; color: rgba(255,255,255,.6); }
.hero-card-head small { margin-left: .5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.dot:nth-child(2) { background: var(--teal-light); }
.dot:nth-child(3) { background: #6d8ff0; }
.hero-list { list-style: none; padding: 0; margin: 0; }
.hero-list li { display: flex; gap: 1rem; align-items: center; padding: .9rem; border-radius: 14px; background: rgba(255,255,255,.05); margin-bottom: .7rem; }
.hero-list i {
    width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; font-size: 1.3rem;
    background: linear-gradient(135deg, var(--teal), var(--blue));
}
.hero-list li:nth-child(4) i { background: linear-gradient(135deg, var(--amber), #e5701b); }
.hero-list strong { display: block; }
.hero-list span { font-size: .88rem; color: rgba(255,255,255,.65); }
.hero-card-foot { font-size: .85rem; color: rgba(255,255,255,.75); padding-top: .4rem; }
.hero-card-foot i { color: var(--amber); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 3.2rem; }
.section-kicker {
    display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
    margin-bottom: .6rem;
}
.section-kicker::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--amber); vertical-align: middle; margin-right: .6rem; }
.kicker-light { color: var(--teal-light); }
.section-title { font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--navy-dark); margin-bottom: 1rem; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }

/* ---------- Service cards ---------- */
.service-card {
    position: relative; background: #fff; border: 1px solid #e6ebf5; border-radius: var(--radius); padding: 1.8rem 1.5rem 1.5rem;
    transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; display: flex; flex-direction: column;
}
.service-card::before {
    content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--teal), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(22,58,143,.13); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    box-shadow: 0 10px 20px rgba(22,58,143,.25);
}
.col-sm-6:nth-child(3n+2) .service-icon { background: linear-gradient(135deg, var(--teal), var(--teal-light)); box-shadow: 0 10px 20px rgba(19,153,138,.25); }
.col-sm-6:nth-child(3n) .service-icon { background: linear-gradient(135deg, var(--amber), #e5701b); box-shadow: 0 10px 20px rgba(243,167,44,.3); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-dark); }
.service-card p { color: var(--muted); font-size: .94rem; line-height: 1.6; flex-grow: 1; }
.service-tag {
    align-self: flex-start; font-size: .74rem; font-weight: 600; color: var(--navy); background: #eaf0fd;
    padding: .35rem .75rem; border-radius: 50px;
}

/* ---------- Why us ---------- */
.why-item { display: flex; gap: 1.1rem; background: #fff; padding: 1.4rem; border-radius: var(--radius); height: 100%; box-shadow: 0 4px 18px rgba(11,31,79,.05); transition: transform .3s; }
.why-item:hover { transform: translateY(-4px); }
.why-icon {
    width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem;
    color: var(--teal); background: rgba(19,153,138,.12);
}
.why-item h4 { font-size: 1.02rem; font-weight: 700; color: var(--navy-dark); margin-bottom: .35rem; }
.why-item p { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.6; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.process::before {
    content: ''; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px);
}
.process-step { text-align: center; position: relative; padding: 0 .5rem; }
.process-num {
    display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-family: 'Montserrat'; font-weight: 800;
    background: var(--navy); color: #fff; border: 5px solid var(--bg-alt); box-shadow: 0 0 0 2px var(--teal); margin-bottom: 1rem; position: relative;
}
.process-step:last-child .process-num { background: var(--amber); color: var(--navy-deep); box-shadow: 0 0 0 2px var(--amber); }
.process-step h5 { font-weight: 700; color: var(--navy-dark); font-size: 1rem; }
.process-step p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------- Locations ---------- */
.locations {
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(34,184,164,.25), transparent 60%),
        radial-gradient(500px 300px at 90% 100%, rgba(243,167,44,.15), transparent 60%),
        linear-gradient(135deg, var(--navy-deep), var(--navy));
}
.city-card {
    text-align: center; padding: 2rem 1rem; border-radius: var(--radius); color: #fff;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: all .3s;
}
.city-card i { font-size: 2rem; color: var(--amber); }
.city-card h4 { margin: .8rem 0 0; font-weight: 700; font-size: 1.15rem; }
.city-card:hover { background: rgba(255,255,255,.12); transform: translateY(-5px); }

/* ---------- Contact ---------- */
.contact-panel {
    border-radius: 22px; padding: 2.2rem; color: #fff;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 60%, #0d4f6e 100%);
    position: relative; overflow: hidden;
}
.contact-panel::after {
    content: ''; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34,184,164,.4), transparent 70%);
}
.contact-panel h3 { font-weight: 800; }
.contact-panel p { color: rgba(255,255,255,.7); }
.contact-line {
    display: flex; gap: 1rem; align-items: center; padding: .9rem 0; color: #fff; text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1;
}
.contact-line:last-child { border-bottom: 0; }
a.contact-line:hover { color: var(--amber); }
.contact-line small { display: block; font-size: .75rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
.ci {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem;
    background: rgba(255,255,255,.1); color: var(--amber);
}
.form-card { background: #fff; border-radius: 22px; padding: 2.2rem; border: 1px solid #e6ebf5; box-shadow: 0 20px 50px rgba(11,31,79,.08); }
.form-label { font-weight: 600; font-size: .88rem; color: var(--navy-dark); }
.form-control, .form-select { border-radius: 12px; padding: .75rem 1rem; border-color: #dbe2f0; background-color: #f9fbff; }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(19,153,138,.15); background-color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 2.5rem 0 1.5rem; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer .sep { margin: 0 .7rem; opacity: .3; }
.footer-mark { height: 52px; background: #fff; border-radius: 12px; padding: 5px; }
.footer-name { color: #fff; font-weight: 700; }
.footer hr { border-color: rgba(255,255,255,.12); margin: 1.5rem 0 1rem; }

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; z-index: 1040;
    display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: #25d366;
    box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: transform .25s;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.service-card.reveal.in:hover, .why-item.reveal.in:hover, .city-card.reveal.in:hover { transform: translateY(-6px); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .navbar-collapse { background: #fff; padding: 1rem 0; }
    .navbar .nav-link::after { display: none; }
    .hero { min-height: auto; padding: 130px 0 120px; }
    .process { grid-template-columns: 1fr; gap: 1.4rem; }
    .process::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto;
        background: repeating-linear-gradient(180deg, var(--teal) 0 8px, transparent 8px 16px); }
    .process-step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; padding: 0; }
    .process-num { grid-row: span 2; margin: 0; }
    .process-step h5 { align-self: end; margin: 0; }
}
@media (max-width: 575.98px) {
    .section { padding: 70px 0; }
    .brand-logo { height: 42px; }
    .form-card, .contact-panel { padding: 1.5rem; }
    .footer .sep { display: none; }
    .footer .col-md-7 a { display: block; margin-top: .3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .hero-card { animation: none; }
}
