/* =========================================================
   BUTTONS
   ========================================================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    height:56px;
    padding:0 34px;

    border-radius:8px;
    border:2px solid transparent;

    font-size:15px;
    font-weight:600;
    text-decoration:none;

    cursor:pointer;

    transition:all .35s ease;
}

.btn span{
    transition:transform .35s ease;
}

.btn:hover span{
    transform:translateX(6px);
}

/* PRIMARY */

.btn-primary{

    background:var(--secondary);
    color:#fff;
    border-color:var(--secondary);

    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.btn-primary:hover{

    background:#8c6d1f;
    border-color:#8c6d1f;

    color:#fff;

    transform:translateY(-4px);

    box-shadow:0 25px 50px rgba(0,0,0,.22);
}

/* OUTLINE */

.btn-outline{

    background:transparent;
    color:#fff;

    border:2px solid rgba(255,255,255,.85);
}

.btn-outline:hover{

    background:var(--secondary);

    border-color:var(--secondary);

    color:#fff;

    transform:translateY(-4px);

    box-shadow:0 25px 50px rgba(0,0,0,.22);
}

/* =========================================================
   5. SECTIONS
   ========================================================= */

.section {
    padding: 120px 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title span,
.section-subtitle {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--secondary);

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-title h2 {
    margin-top: 15px;
}

.center {
    text-align: center;
}

.center p {
    max-width: 700px;
    margin: 20px auto 0;
}

/* =========================================================
   6. HEADER / NAVBAR
   ========================================================= */

.header {
    position: absolute;
    inset: 0 0 auto;

    width: 100%;

    z-index: 1000;

    transition: var(--transition);
}

.header.scrolled {
    position: fixed;

    background: rgba(255, 255, 255, .96);

    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);

    backdrop-filter: blur(12px);
}

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

    min-height: 100px;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    width: auto;
    height: 120px;
    object-fit: contain;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 45px;
}

.nav__menu a {
    color: var(--white);

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

    transition: var(--transition);
}

.header.scrolled .nav__menu a {
    color: #1e293b;
}

.nav__menu a:hover {
    color: var(--secondary);
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--white);
    font-weight: 600;
}

.header.scrolled .header__phone {
    color: #1e293b;
}

.mobile-toggle {
    display: none;
}

/* =========================================================
   7. HERO SLIDER
   ========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: 760px;
    min-height: 760px;

    overflow: hidden;

    background: #111827;
}

.hero-slider {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    overflow: hidden;

    z-index: 1;

    transition:
        opacity .8s ease,
        visibility .8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Hero image */

.hero-bg,
.hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 1;
}

.hero-bg img,
.hero-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;

    display: block;

    transition: transform 8s linear;
}

.hero-slide.active .hero-image img {
    transform: scale(1);
}

/* Hero overlay */

.hero-overlay,
.hero__overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(8, 18, 38, .82) 0%,
            rgba(8, 18, 38, .62) 38%,
            rgba(8, 18, 38, .25) 72%,
            rgba(8, 18, 38, .18) 100%
        );

    z-index: 3;

    pointer-events: none;
}

/* Hero content container */

.hero-slide > .container,
.hero .container {
    position: relative;

    width: min(100% - 40px, var(--container));
    max-width: var(--container);
    height: 100%;

    margin-inline: auto;
    padding: 0;

    display: flex;
    align-items: center;

    z-index: 10;
}

.hero-content {
    position: relative;

    width: 680px;
    max-width: 65%;

    margin: 70px 0 0 80px;
    padding: 0;

    color: var(--white);

    z-index: 20;

    opacity: 1;
    visibility: visible;
}

.hero-tag,
.hero-subtitle {
    display: inline-flex;
    align-items: center;

    margin-bottom: 22px;
    padding: 9px 18px;

    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 30px;

    background: rgba(255, 255, 255, .08);

    color: var(--white);

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;

    backdrop-filter: blur(8px);
}

.hero-content h1,
.hero h1 {
    margin: 0;

    color: var(--white);

    font-size: clamp(48px, 5vw, 78px);
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -2px;

    text-shadow: 0 3px 20px rgba(0, 0, 0, .25);
}

.hero-content p,
.hero p {
    max-width: 650px;

    margin: 28px 0 0;

    color: rgba(255, 255, 255, .92);

    font-size: 17px;
    line-height: 1.8;
}

/* Hero arrows */

.hero-prev,
.hero-next {
    position: absolute;

    top: 50%;

    width: 58px;
    height: 58px;

    margin: 0;
    padding: 0;

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

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;

    background: rgba(255, 255, 255, .14);

    color: var(--white);

    cursor: pointer;

    transform: translateY(-50%);

    z-index: 50;

    backdrop-filter: blur(8px);

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

/* Slider arrows */
.hero-prev {
    left: max(
        20px,
        calc((100vw - var(--container)) / 2 - 70px)
    );
}

.hero-next {
    right: max(
        20px,
        calc((100vw - var(--container)) / 2 - 70px)
    );
}

.hero-prev span,
.hero-next span {
    display: block;

    color: var(--white);

    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    margin-top: -4px;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, .28);
    border-color: rgba(255, 255, 255, .55);

    transform: translateY(-50%) scale(1.05);
}

/* Hero dots */

.hero-dots {
    position: absolute;

    left: 50%;
    bottom: 30px;

    display: flex;
    align-items: center;
    gap: 9px;

    margin: 0;
    padding: 0;

    transform: translateX(-50%);

    z-index: 50;
}

.hero-dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;

    background: rgba(255, 255, 255, .35);

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.hero-dot.active {
    width: 32px;

    border-radius: 10px;

    background: var(--secondary);
    border-color: var(--secondary);
}

/* =========================================================
   8. STATS
   ========================================================= */

.stats {
    position: relative;
    margin-top: 0;
    padding: 70px 0;
    background: var(--light);
    z-index: 10;
}

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

.stat-card {
    padding: 45px 20px;

    background: var(--white);

    border-radius: var(--radius);

    text-align: center;

    box-shadow: var(--shadow);

    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-card h2 {
    margin-bottom: 10px;

    color: var(--secondary);

    font-size: 54px;
}

.stat-card span {
    color: var(--gray);

    font-size: 16px;
    font-weight: 600;
}

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

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

.about-wrapper{

    display:grid;

    grid-template-columns:1.08fr .92fr;

    gap:90px;

    align-items:center;

}

.about-image{

    overflow:hidden;

    border-radius:22px;

    box-shadow:0 25px 70px rgba(0,0,0,.12);

}

.about-image img{

    width:100%;

    height:620px;

    display:block;

    object-fit:cover;

    transition:.8s;

}

.about-image:hover img{

    transform:scale(1.05);

}

.about-content{

    max-width:560px;

}

.about-content h2{

    font-size:54px;

    line-height:1.15;

    margin:18px 0 30px;

}

.about-content p{

    margin-bottom:24px;

    font-size:17px;

    line-height:1.9;

    color:#5d6472;

}

.about-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px 25px;

    margin:40px 0;

}

.about-list div{

    position:relative;

    padding-left:30px;

    font-weight:600;

    color:#1e293b;

}

.about-list div::before{

    content:"✓";

    position:absolute;

    left:0;

    color:var(--primary);

    font-size:18px;

    font-weight:700;

}

.about .btn{

    margin-top:10px;

}

/* =========================================================
   10. SERVICES
   ========================================================= */

.services {
    background: var(--light);
}

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

.service-card{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    background:#fff;

    box-shadow:
    0 20px 55px rgba(15,23,42,.08),
    0 8px 18px rgba(15,23,42,.04);
    
    transition:.45s;

}

.service-card:hover{

    transform:translateY(-14px);

    box-shadow:0 35px 70px rgba(0,0,0,.18);

}

.service-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

transition:transform .9s ease;
    
}

.service-overlay {
    position: absolute;
    inset: 0;

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

    padding: 35px;

    background:
        linear-gradient(
            to top,
            rgba(15, 23, 42, .95),
            rgba(15, 23, 42, .20)
        );

    color: var(--white);
}

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

.service-overlay p {
    margin-bottom: 20px;
    color: #e2e8f0;
}

.service-overlay span {
    color: var(--secondary);
    font-weight: 600;
}

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

/* =========================================================
   11. PROJECTS
   ========================================================= */

.projects-home {
    padding: 120px 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    margin-top: 50px;
}

.project-card {
    overflow: hidden;

    background: var(--white);

    border-radius: 14px;

    box-shadow: var(--shadow);

    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 280px;

    object-fit: cover;

    transition: .5s ease;
}

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

.project-content {
    padding: 30px;
}

.project-content span {
    color: var(--secondary);

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.project-content h3 {
    margin: 15px 0;
}

.project-content a {
    color: var(--primary);
    font-weight: 600;
}

/* =========================================================
   12. FOOTER
   ========================================================= */

.footer {
    position: relative;

    padding: 25px 0 20px;

    background: var(--dark);

    color: #cbd5e1;
}

.footer a {
    transition: var(--transition);
}

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

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer h3,
.footer h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer p {
    color: #94a3b8;
}

.footer__bottom {
    margin-top: 50px;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, .10);

    color: #64748b;

    font-size: 14px;
}

.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:18px 0;
}

.footer-copy{
    font-size:15px;
    color:#fff;
}

.footer-credit{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:6px;
    margin-left:auto;
}

.footer-credit span{
    font-size:12px;
    color:rgba(255,255,255,.75);
    font-weight:500;
    letter-spacing:.5px;
}

.footer-credit img{
    height:42px;
    width:auto;
    transition:.3s ease;
}

.footer-credit img:hover{
    opacity:.9;
    transform:scale(1.03);
}


.footer-credit small{
    font-size:11px;
    color:#b9c4d4;
    text-transform:uppercase;
    letter-spacing:1px;
}