/*=========================================
        LARGE DEVICES
=========================================*/

@media (max-width:1200px){

.container{
    width:92%;
}

.hero-content h1{
    font-size:56px;
}

.hero-content p{
    width:75%;
}

.section-heading h2{
    font-size:42px;
}

.about-container,
.appointment-container{
    gap:50px;
}

.expertise-grid{
    grid-template-columns:repeat(2,1fr);
}

.work-grid{
    grid-template-columns:repeat(2,1fr);
}

.blog-grid{
    grid-template-columns:repeat(2,1fr);
}

.testimonial-slider{
    grid-template-columns:repeat(2,1fr);
}

.counter-section .container{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:1.5fr 1fr;
}

}
/*=========================================
        TABLET DEVICES
=========================================*/

@media (max-width:991px){

header{
    background:rgba(8,27,22,.95);
}

.navbar{
    padding:18px 0;
}

.menu-toggle{
    display:block;
    color:#fff;
    font-size:30px;
    cursor:pointer;
    z-index:10001;
}

.nav-links{

    position:fixed;

    top:0;

    right:-100%;

    width:300px;

    height:100vh;

    background:var(--primary);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:35px;

    transition:.5s;

    z-index:9999;

}

.nav-links.active{

    right:0;

}

.nav-links li{

    width:100%;
    text-align:center;

}

.nav-links li a{

    display:block;
    padding:12px 0;
    font-size:18px;

}

.btn{

    display:none;

}

/* Hero */

.hero{

    height:90vh;

}

.hero-content{

    text-align:center;

    width:90%;

}

.hero-content h1{

    font-size:48px;

}

.hero-content p{

    width:100%;
    margin:auto;
    margin-bottom:35px;

}

.hero-btns{

    justify-content:center;
    flex-wrap:wrap;

}

.hero-social{

    display:none;

}

.slider-btn{

    display:none;

}

/* About */

.about-container{

    grid-template-columns:1fr;

}

.about-image{

    margin-bottom:40px;

}

.about-badge{

    right:20px;
    bottom:20px;

}

/* Appointment */

.appointment-container{

    grid-template-columns:1fr;

}

.appointment-right{

    margin-top:50px;

}

/* Footer */

.footer-grid{

    grid-template-columns:1fr;
    text-align:center;

}

.social-icons{

    justify-content:center;

}

}
/*=========================================
        MOBILE DEVICES
=========================================*/

@media (max-width:768px){

.container{
    width:92%;
}

/* Hero */

.hero{
    height:85vh;
}

.hero-content .eyebrow-heading{
    font-size:15px;
}

.hero-content h1{
    font-size:40px;
    line-height:1.3;
}

.hero-content p{
    font-size:16px;
    line-height:30px;
}

.hero-btns{
    flex-direction:column;
    align-items:center;
    gap:15px;
}

.hero-btn{
    width:230px;
    text-align:center;
}

/* Heading */

.section-heading{
    margin-bottom:50px;
}

.section-heading h2{
    font-size:34px;
}

.section-heading p{
    width:100%;
    line-height:28px;
}

/* About */

.about{
    padding:80px 0;
}

.about-content h2{
    font-size:34px;
}

.about-content p{
    line-height:30px;
}

.about-badge{
    padding:18px;
}

.about-badge h2{
    font-size:30px;
}

/* Counter */

.counter-section .container{
    grid-template-columns:1fr;
}

.counter-box{
    padding:30px;
}

.counter-box h2{
    font-size:46px;
}

/* Cards */

.expertise-grid,
.work-grid,
.testimonial-slider,
.blog-grid{
    grid-template-columns:1fr;
}

/* Appointment */

.appointment{
    padding:80px 0;
}

.appointment-left h2{
    font-size:34px;
}

.experience-badge{
    left:15px;
    bottom:15px;
    padding:18px;
}

.experience-badge h2{
    font-size:34px;
}

/* Google Map */

.map-box iframe{
    height:350px;
}

.footer-grid{
    gap:40px;
}

}


/*=========================================
        SMALL MOBILE
=========================================*/

@media (max-width:576px){

.logo img{
    height:55px;
}

.top-bar{
    display:none;
}

.hero-content h1{
    font-size:30px;
}

.hero-content p{
    font-size:15px;
}

.hero-btn{
    width:210px;
    padding:14px 20px;
}

.section-heading h2{
    font-size:28px;
}

.section-heading .eyebrow-heading{
    font-size:14px;
}

.about-content h2,
.appointment-left h2{
    font-size:28px;
}

.about-content p,
.blog-content p,
.testimonial p{
    font-size:15px;
    line-height:28px;
}

.expertise-content h3,
.blog-content h3,
.work-card h3{
    font-size:22px;
}

.work-card,
.testimonial,
.blog-content,
.expertise-content{
    padding:25px;
}

.client{
    flex-direction:column;
    text-align:center;
}

.client img{
    margin:0 0 15px;
}

.footer-about,
.footer-links,
.footer-contact{
    text-align:center;
}

.social-icons{
    justify-content:center;
}

.whatsapp{
    width:55px;
    height:55px;
    font-size:28px;
}

.scroll-top{
    width:50px;
    height:50px;
}

}

@media (max-width: 991px){
    .nav-links .has-dropdown { width:100%; }
    .nav-links .has-dropdown > a { justify-content:center; }
    .dropdown-menu { position:static; width:100%; min-width:0; display:none; opacity:1; visibility:visible; transform:none; box-shadow:none; border-top:1px solid rgba(255,255,255,.15); background:rgba(0,0,0,.12); padding:4px 0; }
    .nav-links .has-dropdown.open > .dropdown-menu { display:block; }
    .dropdown-menu li a { color:#fff !important; padding:8px 10px; font-size:14px; }
    .dropdown-menu li a:hover { background:transparent; color:var(--gold) !important; padding-left:10px; }
    .nav-links .has-dropdown:hover > .dropdown-menu { display:none; }
    .nav-links .has-dropdown.open:hover > .dropdown-menu { display:block; }
    .hero-content h1 { font-size:48px; }
}
@media (max-width:600px){
    .hero-content h1 { font-size:34px; }
    .hero-content .eyebrow-heading { font-size:12px; letter-spacing:2px; }
    .hero-content p { font-size:14px; line-height:24px; }
    .dots { bottom:20px; }
}


/* Reference-style top contact spacing */
@media (max-width: 768px) {
    .top-bar { padding: 10px 0; font-size: 14px; }
    .top-left { gap: 7px; }
    .navbar { min-height: 92px; }
}


@media (max-width: 700px){
  .about-highlights, .education-grid{grid-template-columns:1fr;}
  .top-left{gap:10px; flex-wrap:wrap;}
  .top-left span{font-size:13px;}
  .logo .brand-title{white-space:normal;}
}
