/*=========================================
  CSS VARIABLES
=========================================*/
:root {
    /* Brand Colors */
    --primary: #178DCB;
    --secondary: ;
    --accent: #73C3E5;
    --navy: #232B62;
    /* Background */
    --white: #ffffff;
    --light: #f5f8fb;
    --grey: #f0f3f7;
    /* Text */
    --text: #111111;
    --text-light: #555555;
    /* Gradient */
    --gradient: linear-gradient(135deg, #73C3E5 0%, #178DCB 50%, #1E4E8C 100%);
    /* UI */
    --radius: 18px;
    --transition: .35s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/*=========================================
  RESET
=========================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
}

/*=========================================
  CONTAINER
=========================================*/
.container {
    width: min(1320px, 94%);
    margin: auto;
}

section {
    padding: 100px 0;
}

/*=========================================
  TYPOGRAPHY
=========================================*/
h1 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

p {
    color: var(--text-light);
}

.gradient-text {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/*=========================================
  UTILITIES
=========================================*/
.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

/*=========================================
  BUTTONS
=========================================*/
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    color: #fff;
    background: var(--gradient);
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary:hover {
    color: #c9c9c9;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(23, 141, 203, .35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

/*=========================================
  NAVBAR
=========================================*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 18px 0;
    z-index: 999;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 120px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-links .btn-primary {
    color: #fff;
    width: auto;
}

.nav-links .btn-primary:hover {
    color: #fff;
}

.nav-links .btn-primary::after {
    display: none;
}

.navbar .nav-links > li.has-drop {
    position: relative;
}

.navbar .nav-links > li.has-drop > .nav-drop {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1100;
}

.navbar .nav-links > li.has-drop > .nav-drop::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.navbar .nav-links > li.has-drop:hover > .nav-drop,
.navbar .nav-links > li.has-drop.is-open > .nav-drop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.navbar .nav-links > li.has-drop > a i {
    font-size: 11px;
    margin-left: 4px;
}

.navbar .nav-drop a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    white-space: nowrap;
}

.navbar .nav-drop a::after {
    display: none;
}

.navbar .nav-drop a:hover {
    background: #f1f7fb;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/*=========================================
  HERO
=========================================*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f8fbfd;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right,
            rgba(115, 195, 229, .18),
            transparent 40%);
    z-index: 0;
}

.hero-overlay {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/*=========================================
  GRID SYSTEM
=========================================*/
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/*=========================================
  COMMON CARD
=========================================*/
.card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
}

/*=========================================
  STATS SECTION
=========================================*/
.stats {
    background: #f5f9fc;
}

.stat-item {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

/*=========================================
  ABOUT SECTION
=========================================*/
.about {
    background: #ffffff;
}

.about-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img img {
    width: 100%;
    max-width: 420px;
    transition: .45s;
}

.about-img img:hover {
    transform: scale(1.05);
}

.about-text p {
    margin-bottom: 18px;
}

.more {
    font-size: 12px;
}

.more:hover {
    text-decoration: underline;
    color: #178ccb;
}

.check-list {
    margin-top: 25px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-weight: 500;
}

.check-list i {
    color: var(--primary);
    font-size: 18px;
}

/*=========================================
  SERVICES SECTION
=========================================*/
.services {
    background: #f8fbfd;
}

.service-card {
    text-align: left;
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: rgba(23, 141, 203, .25);
    box-shadow: 0 15px 40px rgba(23, 141, 203, .15);
}

.service-card i {
    font-size: 46px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
}

/*=========================================
  SECTION SPACING HELPERS
=========================================*/
.py-5 {
    padding: 100px 0;
}

.py-4 {
    padding: 80px 0;
}

.py-3 {
    padding: 60px 0;
}

.pt-5 {
    padding-top: 100px;
}

.pb-5 {
    padding-bottom: 100px;
}

/*=========================================
  FLEX HELPERS
=========================================*/
.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

/*=========================================
  REVEAL ANIMATION
=========================================*/
.reveal,
.reveal-left,
.reveal-right {
    opacity: 1;
    transition: all .8s ease;
}

.reveal {
    transform: translateY(60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/*=========================================
  FADE UP
=========================================*/
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp .8s ease forwards;
}

/*=========================================
  PORTFOLIO SECTION
=========================================*/
.portfolio {
    background: #f8fbfd;
}

#portfolio .container {
    width: min(1140px, 92%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 50px;
    background: #e7edf3;
    color: #444;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--primary);
    color: #fff;
}

.filter-btn.active {
    background: var(--gradient);
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    height: 320px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.portfolio-item img,
.portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.portfolio-item:hover img,
.portfolio-item:hover video {
    transform: scale(1.12);
}

.portfolio-overlay small {
    display: block;
    margin-top: 8px;
    color: #dbeafe;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: .4s;
}

.portfolio-overlay span {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.gtg {
    margin: auto;
    margin-top: 10px;
    display: flex;
    padding: 15px 34px;
    color: #fff;
    background: var(--gradient);
    border-radius: 50px;
    font-weight: 700;
}

.gtg:hover {
    color: #c9c9c9;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px #178dcb59;
}

.gtg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    margin: -5px;
    bottom: 0;
    left: 0;
    background-color: #178ccb;
    /* Underline ko shuruat me left side par shrink (0) karke rakhna */
    transform: scaleX(0);
    transform-origin: bottom left;
    /* Animation ko smooth banane ke liye transition time */
    transition: transform 0.3s ease-out;
}

/* 2. Hover karne par underline ko left to right show karna */
.gtg:hover::after {
    transform: scaleX(1);
}

/*=========================================
  CLIENT SECTION
=========================================*/
.clients {
    background: #ffffff;
    overflow: hidden;
    user-select: none;
}

.clients-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 25px;
    width: max-content;
    animation: scrollClients 50s linear infinite;
    will-change: transform;
}

.client-tag {
    flex: 0 0 auto;
    width: 170px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: #ffffff; */
    border: 2px solid rgba(23, 141, 203, 0.25);
    /* box-shadow: #178DCB; */
    border-radius: 18px;
    padding: 20px;
    transition: var(--transition);
}

.client-tag img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scrollClients {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/*=========================================
  PRESENCE SECTION
=========================================*/
.presence {
    position: relative;
    background: #f8fbfd;
    overflow: hidden;
}

.presence .container {
    position: relative;
    z-index: 2;
}

.presence-map {
    position: absolute;
    right: 50px;
    bottom: 20px;
    font-size: 11rem;
    color: rgba(23, 141, 203, .08);
    pointer-events: none;
}

.city-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.city-list span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    background: #fff;
    font-weight: 600;
    color: #444;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    transition: var(--transition);
}

.city-list span:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

/*=========================================
  IMAGE HOVER
=========================================*/
.about-img img,
.client-tag img,
.portfolio-item img {
    transition: .5s;
}

.about-img:hover img {
    transform: scale(1.05);
}

/*=========================================
  BORDER RADIUS
=========================================*/
.rounded {
    border-radius: 18px;
}

.rounded-circle {
    border-radius: 50%;
}

/*=========================================
  SHADOW HELPER
=========================================*/
.shadow {
    box-shadow: var(--shadow);
}

/*=========================================
  CONTACT SECTION
=========================================*/
.contact {
    background: #1f232b;
    color: #fff;
}

.contact .grid-2 {
    align-items: flex-start;
}

.contact-info h2 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-info p {
    color: #cfd6df;
    margin-bottom: 30px;
}

.info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, .05);
    border-radius: 18px;
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateY(-5px);
}

.info-item i {
    color: var(--primary);
    font-size: 24px;
    margin-top: 4px;
}

.info-item h4 {
    color: #fff;
    margin-bottom: 6px;
}

.info-item p,
.info-item span,
.info-item a {
    color: #d6dce4;
    word-break: break-word;
}

a.info-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.info-item[data-contact-go] {
    cursor: pointer;
}

.info-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.info-links a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.info-links a:hover {
    text-decoration: underline;
}

.info-sep {
    color: #8b95a3;
}

/*=========================================
  CONTACT FORM
=========================================*/
.contact-form {
    background: #d6dce4;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d8dee5;
    border-radius: 12px;
    background: #fff;
    color: #222;
    outline: none;
    transition: var(--transition);
}

input::placeholder,
textarea::placeholder {
    color: #888;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(23, 141, 203, .12);
}

textarea {
    resize: none;
    min-height: 150px;
}

.contact-form button {
    width: 100%;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #e11d48;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
}

.field-error {
    margin-top: 8px;
    color: #e11d48;
    font-size: 13px;
    font-weight: 600;
}

.site-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    width: min(380px, calc(100% - 24px));
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.site-toast-success {
    background: #15803d;
}

.site-toast-error {
    background: #be123c;
}

.site-toast i {
    margin-top: 3px;
}

.site-toast strong,
.site-toast p {
    display: block;
    color: #fff;
}

.site-toast p {
    margin-top: 4px;
    font-size: 13px;
    opacity: 0.92;
}

.site-toast button {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

/*=========================================
  FOOTER
=========================================*/
.site-footer {
    position: relative;
    background:
        linear-gradient(180deg, #f4f9fc 0%, #eef5fa 100%);
    padding: 72px 0 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.95fr 1.25fr;
    gap: 42px;
}

.footer-brand p {
    margin: 16px 0 22px;
    color: #5b6573;
    line-height: 1.8;
    max-width: 340px;
}

.site-footer h4 {
    color: var(--text);
    margin-bottom: 18px;
    font-size: 16px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.site-footer ul li {
    margin-bottom: 12px;
}

.site-footer ul li a,
.site-footer ul li span {
    color: #5b6573;
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    transition: var(--transition);
}

.site-footer ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.site-footer ul li i {
    color: var(--primary);
    margin-top: 4px;
    width: 16px;
    flex-shrink: 0;
}

.footer-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-cta .btn-primary,
.footer-cta .btn-secondary,
.btn-sm {
    width: auto;
    min-width: 0;
}

.btn-sm {
    padding: 11px 22px;
    font-size: 14px;
}

.footer-cta .btn-primary {
    padding: 11px 22px;
    font-size: 14px;
}

.footer-bottom {
    margin-top: 48px;
    padding: 18px 0;
    border-top: 1px solid rgba(23, 141, 203, 0.12);
    background: rgba(255, 255, 255, 0.55);
}

.footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer-bottom p,
.footer-bottom a {
    color: #6b7280;
    font-size: 14px;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/*=========================================
  SOCIAL LINKS
=========================================*/
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 10px 22px rgba(23, 141, 203, .22);
}

.social-links img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-test {
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.footer-test p {
    color: #777;
    font-size: 14px;
}

/*=========================================
  TEXT HELPERS
=========================================*/
.text-white {
    color: #fff;
}

.text-grey {
    color: #777;
}

.text-primary {
    color: var(--primary);
}

/*=========================================
  CUSTOM SCROLLBAR
=========================================*/
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ececec;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/*=========================================
  TEXT SELECTION
=========================================*/
::selection {
    background: var(--primary);
    color: #fff;
}

/*=========================================
  TABLET (992px)
=========================================*/
@media (max-width:992px) {
    section {
        padding: 80px 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    footer .grid-4,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        text-align: center;
        min-height: auto;
        padding: 150px 0 80px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .about-img {
        order: -1;
    }

    .city-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .presence-map {
        font-size: 8rem;
        right: 20px;
        bottom: 20px;
    }
}

/*=========================================
  MOBILE NAVIGATION
=========================================*/
@media (max-width:992px) {
    .navbar {
        padding: 15px 0;
    }

    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
        font-size: 28px;
        color: var(--primary);
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s ease;
        box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
    }

    .nav-links.active {
        max-height: 80vh;
        overflow: auto;
        padding: 20px 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        padding: 16px;
        text-align: center;
        border-bottom: 1px solid #ececec;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }
}

/*=========================================
  MOBILE (768px)
=========================================*/
@media (max-width:768px) {
    section {
        padding: 70px 0;
    }

    .grid-3,
    .grid-4,
    footer .grid-4 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: left;
    }

    .site-footer h4::after {
        margin: 0;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand .site-footer h4::after,
    .footer-brand h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns a {
        width: 100%;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item {
        height: 260px;
    }

    .city-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form {
        padding: 30px;
    }

    .clients-track {
        gap: 18px;
    }

    .client-tag {
        width: 150px;
        height: 95px;
    }

    /* =================================================================*/
    .footer-logo {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .social-links{
        justify-content: center;
    }

}

/*=========================================
  SMALL MOBILE (576px)
=========================================*/
@media (max-width:576px) {
    .container {
        width: 94%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .card,
    .service-card,
    .contact-form,
    .stat-item {
        padding: 25px;
    }

    .info-item {
        padding: 18px;
    }

    footer,
    .site-footer {
        padding: 56px 0 0;
    }

    .footer-cta .btn-primary,
    .footer-cta .btn-secondary {
        width: auto;
        flex: 1 1 auto;
    }

    .footer-test {
        margin-top: 35px;
    }
}

/*=========================================
  EXTRA SMALL DEVICES (480px)
=========================================*/
@media (max-width:480px) {
    html {
        font-size: 15px;
    }

    .logo img {
        width: 95px;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .city-list {
        grid-template-columns: 1fr;
    }

    .portfolio-item {
        height: 220px;
    }

    .client-tag {
        width: 135px;
        height: 85px;
        padding: 15px;
    }

    .client-tag img {
        max-height: 50px;
    }

    input,
    textarea {
        padding: 14px;
    }
}

/*=========================================
  GLOBAL IMAGE EFFECT
=========================================*/
img {
    transition: .4s ease;
}

img:hover {
    transform: scale(1.02);
}

/*=========================================
  SMOOTH TRANSITIONS
=========================================*/
a,
button,
input,
textarea,
.card,
.service-card,
.portfolio-item,
.client-tag,
.info-item {
    transition: var(--transition);
}

/*=========================================
  OVERFLOW FIX
=========================================*/
html,
body {
    overflow-x: hidden;
}

section {
    overflow: hidden;
}

.container {
    max-width: 100%;
}

/*=========================================
  ACCESSIBILITY
=========================================*/
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: none;
}