/* AVDM professional institutional theme with subtle Indian tricolour accents.
   Inspired by formal public-sector design language; AVDM remains a private agency. */
:root{
 --avdm-saffron:#f28c28; --avdm-white:#fff; --avdm-green:#16834a;
 --avdm-navy:#0b203b; --avdm-blue:#123f70; --avdm-ink:#1b2a3d;
 --avdm-muted:#5b6b7d; --avdm-paper:#fbfcfe; --avdm-border:#dfe6ed;
}
html{scroll-behavior:smooth}
body{color:var(--avdm-ink);background:var(--avdm-paper)}
body:before{z-index:-1;background:
 radial-gradient(ellipse at 0% 22%,rgba(242,140,40,.075),transparent 25%),
 radial-gradient(ellipse at 100% 72%,rgba(22,131,74,.065),transparent 27%),
 linear-gradient(180deg,#fff 0%,#fbfcfe 55%,#f7faf8 100%)}
.topbar{background:var(--avdm-navy);color:#e8eff6;border-bottom:3px solid transparent;border-image:linear-gradient(90deg,var(--avdm-saffron) 0 33.333%,#fff 33.333% 66.666%,var(--avdm-green) 66.666%) 1}
.header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--avdm-border);box-shadow:0 5px 20px rgba(11,32,59,.075)}
.header:after{height:3px;background:linear-gradient(90deg,var(--avdm-saffron) 0 33.333%,#fff 33.333% 66.666%,var(--avdm-green) 66.666%)}
.menu{color:#26394e}.menu a{font-weight:700}.menu a.active,.menu a:hover{color:var(--avdm-blue)}
.phone{background:#f0f5fa;color:var(--avdm-blue);border:1px solid #e1e9f1}
.cta{background:var(--avdm-blue);color:#fff;border-radius:8px;box-shadow:0 5px 14px rgba(18,63,112,.16)}
.cta:hover{background:#0b315b}
.hero{background:
 radial-gradient(ellipse at 7% 40%,rgba(242,140,40,.12),transparent 30%),
 radial-gradient(ellipse at 95% 70%,rgba(22,131,74,.10),transparent 29%),
 linear-gradient(135deg,#fffaf5 0%,#fff 48%,#f5fbf6 100%);border-bottom:1px solid #e8edf1}
.hero h1{color:var(--avdm-navy)}
.hero h1 span{background:linear-gradient(90deg,#e9821b 0%,#c96b12 52%,#16794a 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.eyebrow{background:#fff;border:1px solid #e4e9ef;border-left:4px solid var(--avdm-saffron);border-radius:6px;color:var(--avdm-blue);letter-spacing:.025em}
.btn.primary{background:var(--avdm-blue);color:#fff;box-shadow:0 7px 18px rgba(18,63,112,.17)}
.btn.primary:hover{background:#0b315b}.btn.secondary{background:#fff;border-color:#cbd7e2;color:var(--avdm-blue)}
.hero-card,.card,.contact-info,.form-card{border:1px solid var(--avdm-border);box-shadow:0 14px 38px rgba(11,32,59,.07)}
.dashboard{background-image:linear-gradient(rgba(18,63,112,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(18,63,112,.035) 1px,transparent 1px);background-size:26px 26px;background-color:#f8fbff}
.dashboard:after{background:linear-gradient(90deg,rgba(242,140,40,.17),rgba(22,131,74,.14))}
.bars i{background:linear-gradient(180deg,#4c83c4,var(--avdm-blue))}
.section.alt{background:linear-gradient(115deg,#fff9f2,#fff 48%,#f4faf5)}
.section h2{color:var(--avdm-navy)}
.icon{background:linear-gradient(135deg,#fff4e8,#edf7f0);color:var(--avdm-blue)}
.list li:before{color:var(--avdm-green)}
.stat strong,.num,.tag{color:var(--avdm-blue)}
.why{background:#fffaf4;border-color:#e8e4dd}
.industry:hover{border-color:#e5b47e}
.page-hero{background:linear-gradient(110deg,#fff9f2,#fff 50%,#f3faf5);color:var(--avdm-navy);border-top:3px solid var(--avdm-saffron);border-bottom:1px solid var(--avdm-border)}
.breadcrumb{color:var(--avdm-muted)}
.contact{background:linear-gradient(115deg,#0b203b,#123f70);border-top:3px solid var(--avdm-green)}
.footer{background:var(--avdm-navy);border-top:3px solid transparent;border-image:linear-gradient(90deg,var(--avdm-saffron) 0 33.333%,#fff 33.333% 66.666%,var(--avdm-green) 66.666%) 1}
.social a[aria-label="Instagram"],.social a[aria-label="Instagram AVDM"]{background:linear-gradient(135deg,#f58529,#dd2a7b 50%,#8134af)}
.social a[aria-label="Facebook"],.social a[aria-label="Facebook AVDM"]{background:#1877f2}
.social a[aria-label="WhatsApp"],.social a[aria-label="WhatsApp AVDM"]{background:#25d366}
.floating a.phone-f{background:#155eef}
.floating a[aria-label="WhatsApp AVDM"]{background:#25d366}
.floating a[aria-label="Instagram AVDM"]{background:linear-gradient(135deg,#f58529,#dd2a7b 48%,#8134af 78%,#515bd4)}
.floating a[aria-label="Facebook AVDM"]{background:#1877f2}
/* Restrained tricolour motif: no official seals or government insignia. */
.tricolor-rule{height:4px;background:linear-gradient(90deg,var(--avdm-saffron) 0 33.333%,#fff 33.333% 66.666%,var(--avdm-green) 66.666%)}
@media(max-width:950px){.header{height:92px}}

/* Compact, balanced header refinement */
.header{height:104px;min-height:104px;padding:0;box-sizing:border-box}
.nav{gap:26px;min-height:0}
.logo{width:174px;max-height:68px;height:auto;object-fit:contain}
.menu{gap:34px;font-size:16px}
.phone{padding:12px 20px;font-size:15px;gap:9px}
.cta{padding:14px 25px;font-size:15px}
.header:after{height:3px}
@media(max-width:950px){.header{height:82px;min-height:82px}.nav{gap:14px}.logo{width:155px;max-height:58px}}
@media(max-width:600px){.header{height:74px;min-height:74px}.logo{width:140px;max-height:52px}}


/* Home page: reference-inspired professional Indian digital agency layout */
.header{height:94px;min-height:94px}
.header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#f58220 0 33%,#fff 33% 66%,#16833f 66%);pointer-events:none}
.hero-reference{position:relative;padding:30px 0 42px;min-height:0;overflow:hidden;background:
 radial-gradient(ellipse at 4% 75%,rgba(245,130,32,.12),transparent 27%),
 radial-gradient(ellipse at 94% 62%,rgba(22,131,63,.11),transparent 29%),
 linear-gradient(115deg,#fffaf5 0%,#fff 48%,#f7fcf8 100%)}
.hero-reference:before{content:"";position:absolute;inset:0;pointer-events:none;background:
 linear-gradient(145deg,transparent 0 78%,rgba(245,130,32,.10) 78.2% 79%,transparent 79.2%),
 linear-gradient(35deg,transparent 0 82%,rgba(22,131,63,.08) 82.2% 83%,transparent 83.2%)}
.tricolor-edge{position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#f58220 0 33%,#fff 33% 66%,#16833f 66%)}
.hero-reference .hero-grid{position:relative;z-index:1;grid-template-columns:1fr 1.02fr;gap:46px;align-items:center}
.hero-copy{padding:8px 0}
.hero-reference .eyebrow{font-size:12px;padding:8px 14px;border-radius:30px;letter-spacing:.035em;background:#edf5ff;border:1px solid #d5e5fa;color:#0647a5}
.hero-reference h1{font-size:clamp(38px,4.1vw,58px);line-height:1.04;letter-spacing:-.045em;margin:19px 0 15px;color:#0b2348}
.hero-reference h1 span{background:linear-gradient(90deg,#f58220 0%,#e96f0b 52%,#16833f 100%);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero-reference p{font-size:16px;line-height:1.55;max-width:620px;color:#3e5068;margin:0}
.hero-reference .hero-actions{margin-top:22px;gap:14px}
.hero-reference .btn{padding:13px 20px;border-radius:9px;font-size:15px}
.hero-reference .btn.primary{background:#0b438f;color:#fff;box-shadow:0 6px 16px rgba(11,67,143,.15)}
.hero-reference .btn.secondary{background:#fff;border:1px solid #9fb6d2;color:#0b315f}
.hero-visual{position:relative;min-width:0;height:clamp(250px,27vw,370px);border-radius:28px;overflow:hidden;border:1px solid rgba(11,43,78,.1);box-shadow:0 18px 42px rgba(18,48,78,.12);background:#e9f1f7}
.hero-visual>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 45%}
.hero-image-label{position:absolute;left:16px;right:16px;bottom:14px;display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-radius:10px;background:rgba(255,255,255,.92);color:#12345b;font-size:13px;font-weight:700;backdrop-filter:blur(8px)}
.hero-image-label span:first-child{font-weight:900;letter-spacing:.05em}
.highlights-wrap{position:relative;z-index:2;margin-top:-17px}
.reference-stats{margin:0;display:grid;grid-template-columns:repeat(4,1fr);border-radius:17px;background:#fff;border:1px solid #e0e8f0;box-shadow:0 12px 32px rgba(15,47,87,.08);overflow:hidden}
.reference-stats .stat{display:flex;align-items:center;justify-content:center;gap:15px;text-align:left;padding:18px 16px;min-height:74px;position:relative}
.reference-stats .stat:not(:last-child):after{content:"";position:absolute;right:0;top:20%;height:60%;width:1px;background:#d8e2ed}
.reference-stats .stat span:last-child{font-size:14px;line-height:1.25;color:#102c54;font-weight:800}
.stat-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;color:#0b438f}
.stat-icon svg{width:37px;height:37px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.team-preview{padding:48px 0 56px;background:#fff}
.team-title{display:flex;align-items:center;justify-content:center;gap:15px;font-size:clamp(28px,3vw,38px);line-height:1.2;color:#0b2c59;margin:0 0 10px;letter-spacing:-.035em}
.team-title>span{width:64px;height:4px;border-radius:4px;background:linear-gradient(90deg,#f58220,#fff 48%,#16833f)}
.team-preview .lead{font-size:16px;color:#334b68;max-width:850px}
.team-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:27px}
.team-preview-grid img{display:block;width:100%;height:195px;object-fit:cover;object-position:center;border-radius:13px;border:1px solid #e4eaf0;box-shadow:0 7px 20px rgba(12,37,65,.08)}
@media(max-width:950px){
 .header{height:82px;min-height:82px}
 .hero-reference{padding:36px 0 45px}
 .hero-reference .hero-grid{grid-template-columns:1fr;gap:28px}
 .hero-reference h1{font-size:clamp(38px,7vw,54px)}
 .hero-visual{height:clamp(250px,54vw,390px)}
 .reference-stats{grid-template-columns:repeat(2,1fr)}
 .reference-stats .stat:nth-child(2):after{display:none}
 .team-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .hero-reference{padding:28px 0 34px}
 .hero-reference h1{font-size:38px}
 .hero-reference p{font-size:15px}
 .hero-reference .hero-actions{align-items:stretch}
 .hero-reference .btn{flex:1;padding:12px 10px;font-size:13px}
 .hero-visual{height:245px;border-radius:18px}
 .hero-image-label{font-size:11px;bottom:9px;left:9px;right:9px}
 .highlights-wrap{margin-top:-10px}
 .reference-stats .stat{padding:14px 10px;gap:9px;min-height:68px}
 .reference-stats .stat span:last-child{font-size:12px}
 .stat-icon{flex-basis:28px}.stat-icon svg{width:28px;height:28px}
 .team-preview{padding:38px 0}
 .team-title{gap:8px;font-size:25px}
 .team-title>span{width:28px}
 .team-preview .lead{font-size:14px}
 .team-preview-grid{gap:12px}
 .team-preview-grid img{height:135px;border-radius:10px}
}


/* Final responsive pass: prevent navigation, grids, forms and imagery from overflowing */
img,svg,video,canvas{max-width:100%}
.container{width:min(100% - 48px,1380px)}
body{min-width:320px}
.header{position:sticky;top:0;z-index:100}
.header .nav{position:relative;display:flex;align-items:center;justify-content:space-between;gap:clamp(12px,2vw,26px);width:min(100% - 48px,1380px)}
.header .nav>a:first-child{flex:0 1 auto;min-width:0}
.header .logo{display:block;width:clamp(132px,14vw,180px);max-width:100%;height:auto;max-height:66px;object-fit:contain}
.header .menu{flex:0 1 auto;margin-left:auto;gap:clamp(16px,2.2vw,32px);white-space:nowrap}
.header .phone{flex:0 0 auto}
.header .cta{flex:0 0 auto}
.mobile-btn{display:none}
.hero-grid,.service-detail,.about-home,.contact-grid{min-width:0}
.hero-grid>* , .service-detail>* , .about-home>* , .contact-grid>*{min-width:0}
.hero-visual img,.visual.visual-photo,.about-image img,.service-photo{max-width:100%}
.form input,.form select,.form textarea{min-width:0;max-width:100%}
.form label{display:block;min-width:0}
.form button{max-width:100%}
.contact-info,.form-card,.card{min-width:0}
.footer-grid>*{min-width:0;overflow-wrap:anywhere}
.floating{z-index:120}
@media(max-width:1080px){
 .header{height:80px;min-height:80px}
 .header .nav{width:calc(100% - 36px);gap:12px}
 .header .logo{width:145px;max-height:56px}
 .header .menu{display:none}
 .header .menu.is-open{display:flex;position:absolute;top:calc(100% + 1px);left:-18px;right:-18px;margin:0;padding:12px 18px 18px;flex-direction:column;align-items:stretch;gap:0;white-space:normal;background:#fff;border-top:1px solid #e5eaf0;box-shadow:0 14px 24px rgba(11,32,59,.13);z-index:130}
 .header .menu.is-open a{padding:12px 8px;border-bottom:1px solid #edf1f5}
 .header .menu.is-open a:last-child{border-bottom:0}
 .header .phone,.header .nav>.cta{display:none}
 .mobile-btn{display:inline-flex;flex:0 0 42px;align-items:center;justify-content:center;width:42px;height:42px;margin-left:auto;border:1px solid #dbe4ee;border-radius:10px;background:#fff;color:#123f70;font-size:23px;line-height:1;cursor:pointer}
}
@media(max-width:900px){
 .container{width:calc(100% - 36px)}
 .hero-grid,.service-detail,.about-home,.contact-grid{grid-template-columns:minmax(0,1fr)}
 .hero-reference .hero-grid{grid-template-columns:minmax(0,1fr)}
 .hero-reference .hero-copy{max-width:760px}
 .hero-visual{width:100%;max-width:760px;margin-inline:auto}
 .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
 .process{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .industry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .service-detail{gap:28px}
 .contact-grid{gap:24px}
 .form-card,.contact-info{width:100%}
}
@media(max-width:640px){
 .container{width:calc(100% - 32px)}
 .header{height:72px;min-height:72px}
 .header .nav{width:calc(100% - 28px)}
 .header .logo{width:128px;max-height:50px}
 .mobile-btn{width:40px;height:40px;flex-basis:40px}
 .hero-reference{padding:26px 0 32px}
 .hero-reference .hero-grid{gap:22px}
 .hero-reference h1{font-size:clamp(30px,8vw,38px);line-height:1.08;overflow-wrap:normal}
 .hero-reference p{font-size:15px;line-height:1.55}
 .hero-reference .hero-actions{display:flex;flex-direction:column;align-items:stretch}
 .hero-reference .btn{width:100%;font-size:14px;padding:12px 14px}
 .hero-visual{height:auto;aspect-ratio:4/3;min-height:0;border-radius:16px}
 .hero-visual>img{height:100%;object-fit:cover}
 .hero-image-label{font-size:10px;padding:8px}
 .reference-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .reference-stats .stat{min-width:0;padding:12px 8px;gap:7px}
 .reference-stats .stat span:last-child{font-size:11px}
 .team-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .team-preview-grid img{height:auto;aspect-ratio:4/3;object-fit:cover}
 .page-hero{padding:34px 0}
 .page-hero h1{font-size:clamp(28px,7.5vw,36px);overflow-wrap:anywhere}
 .section{padding:42px 0}
 .section h2,.contact-intro h2{font-size:clamp(24px,6.5vw,32px);line-height:1.15}
 .grid-3,.process,.stats,.footer-grid,.form,.why-grid,.industry-grid{grid-template-columns:minmax(0,1fr)}
 .card{padding:20px}
 .form{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
 .form label{grid-column:1/-1;margin-top:5px}
 .form input,.form select,.form textarea{grid-column:1/-1;width:100%;font-size:16px;padding:13px 14px}
 .form textarea{min-height:120px}
 .form button{grid-column:1/-1;width:100%}
 .contact-info,.form-card{padding:18px;border-radius:14px}
 .contact-item{align-items:flex-start;gap:10px}
 .floating{right:8px;bottom:10px;gap:6px}
 .floating a{width:40px;height:40px}
 .floating a svg{width:18px;height:18px}
}
@media(max-width:380px){
 .header .logo{width:116px}
 .hero-reference h1{font-size:29px}
 .reference-stats .stat{flex-direction:column;text-align:center}
 .team-title{font-size:22px}
 .team-title>span{width:20px}
 .floating a{width:36px;height:36px}
}
