/* =========================================================
   SHAIKH DEVTECH
   MAIN STYLESHEET
========================================================= */


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111111;
    background: #ffffff;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* ================= COLORS ================= */

:root {
    --blue: #10a8d5;
    --blue-dark: #0797c1;
    --light-blue: #eef8fb;
    --light-blue-2: #dff3fa;
    --dark: #071f29;
    --black: #111111;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --border: #cfd9dd;
}


/* ================= COMMON ================= */

.section-container {
    width: min(94%, 1600px);
    margin: 0 auto;
}

section {
    padding: 95px 0;
}

.section-label {
    color: var(--blue);
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 18px;
}

h1,
h2,
h3,
h4 {
    font-weight: 400;
    line-height: 1.15;
}

h2 {
    font-size: clamp(38px, 4vw, 64px);
}

p {
    font-size: 19px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 60px;
    padding: 0 32px;
    background: var(--blue);
    color: var(--white);
    border-radius: 40px;
    border: none;
    font-size: 17px;
    font-weight: 600;
    transition: 0.3s ease;
}

.primary-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.primary-btn span {
    font-size: 24px;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 10px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.secondary-btn:hover {
    color: var(--blue);
    border-color: var(--blue);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: 100%;
    background: #f7f7f7;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    width: min(94%, 1540px);
    margin: 0 auto;
    min-height: 140px;

    display: grid;
    grid-template-columns: 190px 1fr 190px;
    align-items: center;
    gap: 30px;
}

.logo {
    width: 115px;
    display: flex;
    align-items: center;
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    transition: 0.25s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue);
}

.talk-btn {
    justify-self: end;
    min-width: 175px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    background: var(--blue);
    color: var(--white);
    border-radius: 40px;

    font-size: 18px;
    font-weight: 600;

    transition: 0.3s;
}

.talk-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.talk-btn span {
    font-size: 27px;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 34px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: min(90%, 1100px);
    text-align: center;
}

.hero-small-title {
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: clamp(65px, 8vw, 125px);
    letter-spacing: -4px;
    color: #555555;
}

.hero h1 span {
    color: #e8edf0;
    -webkit-text-stroke: 1px #d6e7ee;
}

.hero-description {
    max-width: 700px;
    margin: 35px auto;
    color: #4c4c4c;
    font-size: 20px;
}

.hero-buttons {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 36% 64%;
    gap: 70px;
    align-items: start;
}

.about-left h2 {
    max-width: 600px;
    margin-bottom: 45px;
}

.about-service-list {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.about-service-list div {
    min-height: 110px;
    background: var(--light-blue-2);
    border-radius: 18px;

    display: flex;
    align-items: center;

    padding: 20px 50px;
    font-size: 22px;
    font-weight: 600;
}

.about-right {
    padding-left: 30px;
}

.about-right > p {
    font-size: 22px;
    max-width: 900px;
}

.about-right hr {
    border: none;
    border-top: 1px solid #555555;
    margin: 55px 0;
}

.about-image {
    margin-top: 65px;

    width: 100%;
    height: 510px;

    object-fit: cover;
    border-radius: 18px;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background: #ffffff;
}

.section-heading-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
    margin-bottom: 80px;
}

.section-heading-grid > div:nth-child(2) {
    max-width: 650px;
}

.section-heading-grid .primary-btn {
    margin-top: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.service-card {
    min-height: 430px;

    background: #f4fafc;
    border: 1.5px solid var(--blue);
    border-radius: 18px;

    padding: 55px 45px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.featured-card {
    background: var(--blue);
    color: var(--white);
}

.service-icon {
    margin-bottom: auto;
    color: var(--blue);
    font-size: 60px;
}

.featured-card .service-icon {
    color: var(--white);
}

.service-card h3 {
    font-size: 35px;
    margin-bottom: 25px;
}

.service-card p {
    font-size: 17px;
}


/* =========================================================
   DEVELOPMENT PROCESS
========================================================= */

.process-section {
    padding-top: 120px;
}

.process-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 90px;
    align-items: center;
}

.process-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.process-card {
    height: 350px;

    background: #f4fafc;
    border: 1px solid var(--blue);
    border-radius: 18px;

    padding: 42px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.process-card span {
    color: var(--blue);
    font-size: 30px;
}

.process-card h3 {
    font-size: 34px;
}

.active-process {
    background: var(--blue);
    color: var(--white);
}

.active-process span {
    color: var(--white);
}

.process-content {
    text-align: center;
}

.process-content h2 {
    margin-bottom: 25px;
}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-section {
    background: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 65px;
}

.portfolio-card img {
    width: 100%;

    /*
       IMPORTANT:
       Picture proportions are kept similar
       to the old Shaikh Consultancy website.
    */
    height: 510px;

    object-fit: cover;
    border-radius: 18px;

    transition: 0.35s;
}

.portfolio-card:hover img {
    transform: scale(1.015);
}

.portfolio-category {
    margin-top: 25px;
    color: var(--blue);
    font-size: 21px;
}

.portfolio-card h3 {
    margin-top: 8px;
    font-size: 35px;
}


/* =========================================================
   CLIENT TESTIMONIALS
========================================================= */

.clients-section {
    background: #ffffff;
}

.clients-section > .section-container > h2 {
    margin-bottom: 55px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 38px;
}

.testimonial-card {
    min-height: 390px;
    padding: 55px;

    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.10);

    position: relative;
}

.testimonial-card::after {
    content: "❞";

    position: absolute;
    right: 45px;
    bottom: 20px;

    font-size: 95px;
    color: #4a4a4a;
}

.testimonial-card p {
    font-size: 21px;
    max-width: 600px;
}

.stars {
    margin-top: 30px;
    color: var(--blue);
    font-size: 24px;
    letter-spacing: 3px;
}

.testimonial-card h4 {
    margin-top: 20px;
    color: var(--blue);
    font-size: 19px;
    font-weight: 700;
}

.testimonial-card small {
    font-size: 15px;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 80px 0;
}

.cta-box {
    min-height: 410px;
    background: var(--dark);

    border-radius: 20px;

    padding: 70px 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    color: var(--white);
}

.cta-box h2 {
    max-width: 650px;
    margin-bottom: 25px;
}

.cta-box p {
    max-width: 650px;
}

.cta-circle {
    min-width: 230px;
    width: 230px;
    height: 230px;

    background: var(--white);
    color: var(--black);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    letter-spacing: 4px;
    font-weight: 600;

    transition: 0.3s;
}

.cta-circle:hover {
    transform: scale(1.06);
    color: var(--blue);
}


/* =========================================================
   FAQ
========================================================= */

.faq-grid {
    display: grid;
    grid-template-columns: 36% 64%;
    gap: 70px;
}

.faq-left h2 {
    max-width: 500px;
    margin-bottom: 45px;
}

.faq-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border-radius: 18px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    min-height: 105px;

    background: #eef3f5;
    border: 1px solid #cdd5d8;

    padding: 20px 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    text-align: left;

    color: var(--blue);
    font-size: 26px;

    border-radius: 18px;
}

.faq-question span {
    width: 55px;
    height: 55px;

    background: var(--blue);
    color: var(--white);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
}

.faq-answer {
    display: none;
    padding: 25px 35px 35px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    background: #eaf1f4;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: #ffffff;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 90px;
}

.contact-card {
    min-height: 410px;

    background: #f5fafc;
    border: 1px solid var(--blue);
    border-radius: 18px;

    padding: 55px 50px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.featured-contact {
    background: var(--blue);
    color: var(--white);
}

.contact-icon {
    color: var(--blue);
    font-size: 62px;
    margin-bottom: auto;
}

.featured-contact .contact-icon {
    color: var(--white);
}

.contact-card h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-card p {
    font-size: 17px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.contact-form {
    border: 1.5px solid var(--blue);
    border-radius: 18px;
    padding: 55px;
}

.contact-form h2 {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    border: 1px solid #dddddd;
    border-radius: 15px;

    padding: 22px 28px;

    font-size: 17px;

    outline: none;

    transition: 0.3s;
}

.contact-form input {
    height: 70px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 220px;
    margin-bottom: 25px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
}

.map-placeholder {
    min-height: 650px;

    background:
        linear-gradient(
            rgba(245, 245, 245, 0.9),
            rgba(245, 245, 245, 0.9)
        );

    border-radius: 18px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-placeholder h3 {
    font-size: 35px;
}

.map-placeholder p {
    margin-top: 12px;
    color: var(--gray);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #f5f5f5;
    padding-top: 90px;
}

.footer-top {
    min-height: 260px;

    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    align-items: center;

    border-bottom: 1px solid #bbbbbb;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    gap: 25px;
}

.footer-nav a {
    font-size: 20px;
    transition: 0.25s;
}

.footer-nav a:hover {
    color: var(--blue);
}

.footer-logo {
    width: 140px;
    margin: 0 auto;
}

.footer-logo img {
    width: 100%;
    object-fit: contain;
}

.footer-bottom {
    min-height: 230px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    align-items: center;
    gap: 35px;
}

.footer-bottom h4 {
    font-size: 25px;
    margin-bottom: 10px;
}

.footer-bottom p {
    font-size: 16px;
    color: #555555;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 52px;
    height: 52px;

    background: var(--blue);
    color: var(--white);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 700;
}

.copyright {
    text-align: right;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-container {
        grid-template-columns: 130px 1fr 80px;
        min-height: 100px;
    }

    .logo {
        width: 85px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        background: #ffffff;

        flex-direction: column;
        align-items: stretch;

        padding: 20px;

        display: none;

        border-top: 1px solid #dddddd;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 15px;
    }

    .talk-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
    }

    .about-grid,
    .process-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .about-right {
        padding-left: 0;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0;
    }

    .footer-logo {
        order: -1;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
        padding: 45px 0;
    }

    .copyright {
        text-align: left;
    }
}


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

@media (max-width: 767px) {

    section {
        padding: 65px 0;
    }

    .section-container {
        width: 92%;
    }

    .section-label {
        font-size: 20px;
    }

    h2 {
        font-size: 38px;
    }

    p {
        font-size: 16px;
    }


    /* Header */

    .header-container {
        min-height: 85px;
    }

    .logo {
        width: 72px;
    }


    /* Hero */

    .hero {
        min-height: 590px;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        gap: 15px;
    }


    /* About */

    .about-service-list {
        margin-top: 50px;
        gap: 20px;
    }

    .about-service-list div {
        min-height: 90px;
        padding: 20px 25px;
        font-size: 17px;
    }

    .about-right > p {
        font-size: 17px;
    }

    .about-image {
        height: 300px;
    }


    /* Common heading */

    .section-heading-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 55px;
    }


    /* Services */

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 350px;
        padding: 35px 30px;
    }

    .service-card h3 {
        font-size: 29px;
    }


    /* Process */

    .process-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .process-card {
        height: 240px;
        padding: 25px 20px;
    }

    .process-card span {
        font-size: 21px;
    }

    .process-card h3 {
        font-size: 22px;
    }


    /* Portfolio */

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .portfolio-card img {
        height: 320px;
    }

    .portfolio-card h3 {
        font-size: 28px;
    }


    /* Testimonials */

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-height: 330px;
        padding: 35px 30px;
    }

    .testimonial-card p {
        font-size: 17px;
    }


    /* CTA */

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 50px 30px;
    }

    .cta-circle {
        min-width: 160px;
        width: 160px;
        height: 160px;
    }


    /* FAQ */

    .faq-question {
        min-height: 90px;
        padding: 16px 20px;
        font-size: 19px;
    }

    .faq-question span {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }


    /* Contact */

    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .contact-card {
        min-height: 270px;
        padding: 25px 20px;
    }

    .contact-icon {
        font-size: 42px;
    }

    .contact-card h3 {
        font-size: 22px;
    }

    .contact-card p {
        font-size: 14px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .map-placeholder {
        min-height: 400px;
    }


    /* Footer */

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-nav a {
        font-size: 16px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .copyright {
        text-align: center;
    }
}


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

@media (max-width: 430px) {

    .hero h1 {
        font-size: 48px;
    }

    .process-cards {
        grid-template-columns: 1fr 1fr;
    }

    .process-card {
        height: 220px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-card {
        padding: 22px 15px;
    }

    .portfolio-card img {
        height: 270px;
    }
}
/* =========================================================
   DESKTOP LAYOUT FIXES
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Header wider and cleaner */
.header-container {
    width: min(96%, 1580px);
    grid-template-columns: 150px minmax(0, 1fr) 190px;
    gap: 20px;
}

.main-nav {
    gap: 28px;
}

.main-nav a {
    white-space: nowrap;
    font-size: 14px;
}

/* Prevent grid sections from becoming wider than screen */
.about-grid {
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
}

.process-grid {
    grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
    gap: 60px;
}

.faq-grid {
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
}

.section-heading-grid,
.contact-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Keep all content safely inside containers */
.about-left,
.about-right,
.process-cards,
.process-content,
.faq-left,
.faq-right,
.section-heading-grid > div,
.contact-main-grid > * {
    min-width: 0;
}

.process-content p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Slightly neater desktop headings */
.process-content h2 {
    font-size: clamp(42px, 4vw, 64px);
}

/* Portfolio images keep old website proportions */
.portfolio-card img {
    width: 100%;
    height: 510px;
    object-fit: cover;
}

/* Header logo controlled size */
.logo img {
    max-height: 120px;
    object-fit: contain;
}
/* =========================================================
   SHAIKH DEVTECH - FINAL DESKTOP POLISH
========================================================= */

/* Overall spacing */
section {
    padding: 80px 0;
}

.section-container {
    width: min(94%, 1540px);
}


/* ================= HEADER ================= */

.header-container {
    min-height: 120px;
}

.logo {
    width: 105px;
}

.main-nav {
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    letter-spacing: 2.5px;
}

.talk-btn {
    min-width: 180px;
    height: 58px;
}


/* ================= HERO ================= */

.hero {
    min-height: 610px;
    padding: 70px 0;
}

.hero-small-title {
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(70px, 7.4vw, 118px);
}

.hero-description {
    margin-top: 25px;
    margin-bottom: 25px;
    max-width: 760px;
}


/* ================= ABOUT ================= */

.about-section {
    padding-top: 85px;
}

.about-grid {
    gap: 65px;
}

.about-left h2 {
    font-size: clamp(46px, 4vw, 65px);
}

.about-service-list {
    margin-top: 60px;
}

.about-service-list div {
    min-height: 105px;
}

.about-image {
    height: 500px;
    margin-top: 50px;
}


/* ================= SERVICES ================= */

.services-section {
    padding-top: 85px;
}

.section-heading-grid {
    margin-bottom: 65px;
}

.service-card {
    min-height: 400px;
}

.service-card:hover {
    transform: translateY(-6px);
}


/* ================= PROCESS ================= */

.process-section {
    padding-top: 85px;
    padding-bottom: 85px;
}

.process-grid {
    align-items: center;
}

.process-card {
    height: 320px;
}

.process-content {
    padding: 20px 20px;
}

.process-content h2 {
    margin-bottom: 30px;
}

.process-content p {
    line-height: 1.7;
}


/* ================= PORTFOLIO ================= */

.portfolio-section {
    padding-top: 85px;
}

.portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 55px 65px;
}

.portfolio-card img {
    height: 500px;
    object-fit: cover;
}

/* Keep third project centered instead of leaving it awkward */
.portfolio-card:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 32px);
    justify-self: center;
}

.portfolio-card h3 {
    font-size: 33px;
}


/* ================= CLIENTS ================= */

.clients-section {
    padding-top: 85px;
}

.testimonial-card {
    min-height: 350px;
    padding: 50px;
}

.testimonial-card p {
    line-height: 1.7;
}


/* ================= CTA ================= */

.cta-section {
    padding: 70px 0;
}

.cta-box {
    min-height: 380px;
}


/* ================= FAQ ================= */

.faq-section {
    padding-top: 85px;
}

.faq-grid {
    align-items: start;
}

.faq-question {
    min-height: 95px;
}


/* ================= CONTACT ================= */

.contact-section {
    padding-top: 85px;
}

.contact-info-grid {
    margin-bottom: 70px;
}

.contact-card {
    min-height: 380px;
}

.contact-main-grid {
    align-items: stretch;
}

.contact-form,
.map-placeholder {
    min-height: 620px;
}


/* ================= FOOTER ================= */

.site-footer {
    padding-top: 65px;
}

.footer-top {
    min-height: 230px;
}

.footer-bottom {
    min-height: 200px;
}


/* ================= LARGE SCREEN ================= */

@media (min-width: 1500px) {

    .section-container {
        width: min(93%, 1540px);
    }

    .hero {
        min-height: 620px;
    }
}


/* ================= TABLET / MOBILE PORTFOLIO FIX ================= */

@media (max-width: 1100px) {

    .portfolio-card:nth-child(3) {
        grid-column: auto;
        width: 100%;
    }
}

@media (max-width: 767px) {

    section {
        padding: 60px 0;
    }

    .portfolio-card:nth-child(3) {
        width: 100%;
    }

    .hero {
        min-height: 540px;
    }
}
/* ================= GOOGLE MAP ================= */

.map-container {
    width: 100%;
    min-height: 620px;
    border-radius: 18px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 620px;
    border: 0;
    display: block;
}

@media (max-width: 767px) {
    .map-container,
    .map-container iframe {
        min-height: 400px;
        height: 400px;
    }
    /* =========================================================
   FINAL MOBILE VIEW FIX
========================================================= */

@media (max-width: 767px) {

    /* Common */
    .section-container {
        width: 92%;
    }

    /* Services heading */
    .section-heading-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 45px;
    }

    /* Services cards */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        min-height: auto;
        padding: 35px 25px;
    }

    /* Development Process */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-card {
        width: 100%;
        height: auto;
        min-height: 220px;
        padding: 25px 20px;
    }

    .process-card h3 {
        font-size: 24px;
    }

    .process-content {
        padding: 0;
        width: 100%;
    }

    .process-content h2 {
        font-size: 38px;
    }

    .process-content p {
        font-size: 16px;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portfolio-card:nth-child(3) {
        grid-column: auto;
        width: 100%;
    }

    .portfolio-card img {
        height: 270px;
    }

    /* Contact information */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 45px;
    }

    .contact-card {
        width: 100%;
        min-height: 220px;
        padding: 25px 20px;
    }

    .contact-card h3 {
        font-size: 25px;
    }

    .contact-card p {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    /* Contact form + map */
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        width: 100%;
        min-height: auto;
        padding: 30px 20px;
    }

    .contact-form h2 {
        font-size: 38px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 18px 16px;
        font-size: 16px;
    }

    .contact-form textarea {
        min-height: 180px;
    }

    .contact-form .primary-btn {
        width: 100%;
    }

    /* Google Map */
    .map-container,
    .map-container iframe {
        width: 100%;
        min-height: 350px;
        height: 350px;
    }

    /* Footer */
    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .copyright {
        text-align: center;
    }
}
}
/* ================= ABOUT MOBILE FINAL FIX ================= */

@media (max-width: 767px) {

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-left,
    .about-right {
        width: 100%;
        padding-left: 0;
        min-width: 0;
    }

    .about-left h2 {
        font-size: 42px;
        margin-bottom: 30px;
    }

    .about-right > p {
        width: 100%;
        font-size: 17px;
        line-height: 1.7;
    }

    .about-service-list {
        width: 100%;
        margin-top: 35px;
        gap: 18px;
    }

    .about-service-list div {
        width: 100%;
        min-height: 85px;
        padding: 20px 22px;
    }

    .about-image {
        width: 100%;
        height: 280px;
        margin-top: 35px;
    }
}
/* ========== HOME HERO 4 IMAGES FINAL ========== */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
    min-height: 650px;
    padding: 70px 5%;
}

.hero-content {
    width: 100%;
}

.hero-images {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hero-img {
    width: 100%;
    height: 210px;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.hero-img-3,
.hero-img-4 {
    object-fit: contain;
    background: #eef7fb;
    padding: 10px;
}


/* ========== MOBILE VIEW ========== */

@media (max-width: 767px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 35px;
        min-height: auto;
        padding: 45px 20px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-images {
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
    }

    .hero-img {
        width: 100%;
        height: 220px;
        border-radius: 14px;
    }

    .hero-img-3,
    .hero-img-4 {
        padding: 8px;
    }
}
/* ========== HOME HERO PREMIUM LOOK ========== */

.hero {
    background:
        radial-gradient(circle at top right, rgba(29, 169, 211, 0.10), transparent 35%),
        linear-gradient(135deg, #ffffff 0%, #f7fbfd 100%);
}

.hero-small-title {
    letter-spacing: 8px;
    font-weight: 700;
}

.hero h1 {
    line-height: 0.95;
}

.hero-description {
    line-height: 1.7;
    max-width: 650px;
}

.hero-img {
    transition: transform 0.35s ease,
                box-shadow 0.35s ease;
}

.hero-img:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.primary-btn,
.secondary-btn {
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
}

.primary-btn:hover {
    box-shadow: 0 10px 25px rgba(20, 170, 215, 0.28);
}


/* Mobile پر hover movement بند رہے */
@media (max-width: 767px) {

    .hero-small-title {
        letter-spacing: 5px;
    }

    .hero-img:hover {
        transform: none;
    }
}
/* ========== HOME WHAT WE BUILD SECTION ========== */

.home-services-preview {
    padding: 100px 6%;
    background: #ffffff;
}

.home-services-heading {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

.home-services-heading > p {
    color: #15a9d4;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 18px;
}

.home-services-heading h2 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.home-services-heading span {
    display: block;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.home-service-card {
    min-height: 320px;
    padding: 35px 28px;
    border-radius: 22px;
    background: #f2fafd;
    border: 1px solid #dceff5;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.home-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.service-number {
    font-size: 18px;
    font-weight: 700;
    color: #15a9d4;
    margin-bottom: 45px;
}

.home-service-card h3 {
    font-size: 27px;
    margin-bottom: 20px;
}

.home-service-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}


/* TABLET */

@media (max-width: 1000px) {

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


/* MOBILE */

@media (max-width: 767px) {

    .home-services-preview {
        padding: 65px 20px;
    }

    .home-services-heading {
        margin-bottom: 40px;
    }

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

    .home-services-heading span {
        font-size: 16px;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-service-card {
        min-height: auto;
        padding: 30px 25px;
    }

    .service-number {
        margin-bottom: 25px;
    }

    .home-service-card h3 {
        font-size: 24px;
    }

    .home-service-card:hover {
        transform: none;
    }
}
/* ========== SERVICES FAQ MOBILE FINAL FIX ========== */

@media (max-width: 767px) {

    .faq-section {
        padding: 60px 20px;
    }

    .faq-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 35px;
        width: 100%;
    }

    .faq-left,
    .faq-right {
        width: 100%;
        min-width: 0;
    }

    .faq-left {
        text-align: center;
    }

    .faq-left .section-label {
        margin-bottom: 12px;
    }

    .faq-left h2 {
        width: 100%;
        font-size: 38px;
        line-height: 1.1;
        margin-bottom: 28px;
    }

    .faq-left .primary-btn {
        display: inline-flex;
        width: auto;
        justify-content: center;
        align-items: center;
    }

    .faq-right {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .faq-item {
        width: 100%;
        min-width: 0;
    }

    .faq-question {
        width: 100%;
        min-height: 80px;
        padding: 18px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        text-align: left;
        font-size: 18px;
        line-height: 1.35;
    }

    .faq-question span {
        flex: 0 0 auto;
    }

    .faq-answer {
        width: 100%;
    }

    .faq-answer p {
        width: 100%;
        margin: 0;
        padding: 18px 20px;
        font-size: 16px;
        line-height: 1.7;
        white-space: normal;
        word-break: normal;
    }
}