/* ===========================
   Root + Reset
=========================== */

:root {
    --primary: #0a2e6d;
    --secondary: #d4af37;
    --bg: #f6f8fc;
    --bg-alt: #ffffff;
    --text: #222;
    --muted: #666;
    --border: #e7ebf2;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 18px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f5f7fb;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===========================
   Header
=========================== */

.header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 85px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.logo img {
    height: 60px;
    width: auto;
}

.logo span {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary);
    font-size: 14px;
    line-height: 1.2;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li a {
    color: var(--primary);
    font-weight: 600;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--secondary);
}

.call-btn {
    background: var(--secondary);
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}

.call-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ===========================
   Hero
=========================== */

.hero {
    padding: 90px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content h5 {
    color: var(--secondary);
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 14px;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 25px;
}

.hero-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 15px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.primary-btn {
    background: var(--primary);
    color: #fff;
}

.secondary-btn {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.secondary-btn:hover {
    background: var(--primary);
    color: #fff;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 720px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Section Titles
=========================== */

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title h5 {
    color: var(--secondary);
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title p {
    color: #666;
    line-height: 1.8;
}

/* ===========================
   About
=========================== */

.about {
    padding: 100px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    display: block;
    margin: auto;
}

.about-content h5 {
    color: var(--secondary);
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-size: 14px;
}

.about-content h2 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.box {
    background: #f7f8fc;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #eef2f7;
}

.box h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.box p {
    font-size: 14px;
    margin: 0;
}

.experience-badge {
    background: var(--primary);
    color: #fff;
    padding: 18px 28px;
    border-radius: 14px;
    display: inline-block;
    margin-top: 25px;
}

.experience-badge h3 {
    margin: 0;
    color: #f4c430;
}

.experience-badge span {
    font-size: 15px;
}

/* ===========================
   Services
=========================== */

.services {
    padding: 100px 0;
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.35s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.service-card:hover img {
    transform: scale(1.08);
}

.service-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: 0.4s ease;
}

.service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    flex: 1;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: var(--secondary);
    transition: 0.4s;
}

.service-card:hover::before {
    width: 100%;
}

.service-btn {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 600;
    transition: 0.3s;
}

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

/* ===========================
   Why Choose Us
=========================== */

.why-choose {
    padding: 100px 0;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: #fff;
    border-radius: 18px;
    padding: 50px 35px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.35s;
    border-top: 5px solid transparent;
    border: 1px solid #eef2f7;
}

.why-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--secondary);
    box-shadow: var(--shadow-strong);
}

.why-card i {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 25px;
    transition: 0.3s;
}

.why-card:hover i {
    color: var(--secondary);
}

.why-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.why-card p {
    color: #666;
    line-height: 1.8;
}

/* ===========================
   Industries
=========================== */

.industries {
    padding: 100px 0;
    background: var(--bg);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.industry-card {
    background: #fff;
    padding: 45px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid #eef2f7;
    transition: 0.35s;
}

.industry-card:hover {
    transform: translateY(-6px);
    border-top: 5px solid var(--secondary);
    box-shadow: 0 18px 40px rgba(10, 46, 109, 0.15);
}

.industry-card i {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #f8f2df;
    color: var(--primary);
    font-size: 42px;
    transition: 0.35s;
}

.industry-card:hover i {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.industry-card h3 {
    color: var(--primary);
    font-size: 24px;
    line-height: 1.4;
}

/* ===========================
   Contact
=========================== */

.contact {
    padding: 100px 0;
    background: #f7f9fc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.contact-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-box i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f2de;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-box h3 {
    margin-bottom: 8px;
    color: var(--primary);
}

.contact-box a {
    color: #333;
}

.contact-form {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: visible;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    transition: 0.3s;
}

.contact-form textarea {
    height: 160px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

/* ===========================
   Footer
=========================== */

.footer {
    background: var(--primary);
    color: #fff;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    width: 230px;
    display: block;
    margin-bottom: 25px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-col p {
    color: #f1f1f1;
    line-height: 1.9;
    font-size: 16px;
}

.footer-col ul {
    padding: 0;
    margin: 0;
}

.footer-col li {
    color: #d9d9d9;
    line-height: 1.9;
    list-style: none;
    margin-bottom: 12px;
}

.footer-col a {
    color: #d9d9d9;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    color: #d8d8d8;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-4px);
}

/* ===========================
   Floating Contact Buttons
=========================== */

.floating-buttons {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 9999;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.floating-text {
    background: #fff;
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 30px;
    margin-right: 12px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(15px);
    transition: 0.35s;
    white-space: nowrap;
}

.floating-btn i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
    animation: pulse 2s infinite;
}

.call-btn i {
    background: var(--primary);
}

.whatsapp-btn i {
    background: #25D366;
}

.floating-btn:hover .floating-text {
    opacity: 1;
    transform: translateX(0);
}

.call-btn:hover i {
    background: var(--secondary);
    transform: scale(1.1);
}

.whatsapp-btn:hover i {
    background: #1ebe5d;
    transform: scale(1.1);
}

/* ===========================
   Back To Top
=========================== */

#backToTop {
    position: fixed;
    right: 30px;
    bottom: 190px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary);
    font-size: 22px;
    cursor: pointer;
    display: none;
    z-index: 9999;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

#backToTop:hover {
    transform: translateY(-5px);
}

/* ===========================
   Animations
=========================== */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.35);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 1024px) {
    .hero-content h1,
    .about-content h2,
    .section-title h2 {
        font-size: 38px;
    }

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

@media (max-width: 900px) {
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-content,
    .about-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    nav {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 16px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .about-boxes {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .container {
        width: 92%;
    }

    .hero-content h1,
    .about-content h2,
    .section-title h2 {
        font-size: 32px;
    }

    .hero-image img {
        max-width: 100%;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
    }

    .footer-col {
        width: 100%;
        max-width: 320px;
    }

    .footer-logo {
        display: block;
        margin: 0 auto 20px;
    }

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

    .footer-bottom {
        padding: 20px 15px;
        font-size: 14px;
    }

    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }

    .floating-btn i {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .floating-text {
        display: none;
    }

    #backToTop {
        right: 15px;
        bottom: 145px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    nav ul {
        gap: 14px;
    }

    .logo {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .logo img {
        height: 52px;
    }

    .logo span {
        font-size: 12px;
    }

    .hero-content h5,
    .about-content h5,
    .section-title h5 {
        font-size: 12px;
    }

    .hero-content h1,
    .about-content h2,
    .section-title h2 {
        font-size: 28px;
    }

    .primary-btn,
    .secondary-btn,
    .call-btn {
        padding: 13px 20px;
        font-size: 14px;
    }

    .contact-form {
        padding: 22px;
    }

    .contact-box {
        padding: 20px;
    }

    .industry-card h3 {
        font-size: 20px;
    }

    .service-card img {
        height: 180px;
    }
}