@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

body{
    background-color: #ffffff;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html{
    scroll-behavior:smooth;
}


section{
    min-height:auto;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding:30px 0;
    scroll-margin-top:90px;
}

@media (max-width:768px){
    section{
        padding:60px 0;
    }
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.navbar-toggler {
    font-size: 28px;
    border: none;
}

.navbar-toggler-icon{
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23f59e0b' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

#navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.logo{
    width: 140px;
    max-width: 40vw;
    height: auto;
}


/* Navbar shrink effect */

#navbar{
    transition: all 0.3s ease;
}

#navbar.shrink{
    padding-top:6px;
    padding-bottom:6px;
    box-shadow:0 5px 25px rgba(0,0,0,0.08);
}

#navbar.shrink .logo{
    width:110px;
}


/* Google Login Button */

.google-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    background:white;
    border:1px solid #dadce0;
    border-radius:8px;

    font-weight:500;
    font-size:15px;

    padding:12px;

    transition:all 0.2s ease;
}

.google-btn img{
    width:20px;
    height:20px;
}

.google-btn:hover{
    background:#f7f7f7;
    border-color:#c6c6c6;
}

.google-btn:active{
    transform:scale(0.98);
}

.google-btn{
    animation:googlePulse 2s infinite;
}

@keyframes googlePulse{
    0%{box-shadow:0 0 0 0 rgba(66,133,244,0.4);}
    70%{box-shadow:0 0 0 10px rgba(66,133,244,0);}
    100%{box-shadow:0 0 0 0 rgba(66,133,244,0);}
}


/*--------------------------home-----------------------------*/

/* ===== Hero Section Upgrade ===== */

/* ===== Hero Entrance Animation ===== */

.hero-animate{
    opacity:0;
    transform:translateY(30px);
    animation:heroFade 0.9s ease forwards;
}

.hero-animate:nth-child(2){
    animation-delay:0.2s;
}

.hero-animate:nth-child(3){
    animation-delay:0.4s;
}

.hero-animate:nth-child(4){
    animation-delay:0.6s;
}

@keyframes heroFade{
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.hero-row{
    min-height:70vh;
}

#home h1{
    font-size:48px;
    font-weight:700;
    line-height:1.2;
}

#home p{
    font-size:20px;
    color:#555;
}

@media (max-width:768px){

    #home h1{
        font-size:34px;
        text-align:center;
    }

    #home p{
        text-align:center;
    }

}

span{
    color: orange;
    font-weight: bold;
}
p{
    font-size: 18px;
}

.hero-cta{
    background:#f59e0b;
    color:white;
    border:none;
    padding:14px 32px;
    font-size:16px;
    font-weight:600;
    border-radius:12px;
    transition:all .25s ease;
}

.hero-cta:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(245,158,11,.35);
    background:#ea580c;
}


.bold{
    font-size: 25px;
    line-height: 25px;
    text-align: left;
}

li{
    padding: 5px;
}

.nav-link{
    position: relative;
}

.nav-link::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #f59e0b;
    transition: width 0.25s ease;
}

.nav-link:hover::after{
    width: 100%;
}



.earth-model{
    width:100%;
    height:600px;
}

@media (max-width:768px){
    .earth-model{
        height:320px;
    }
}


/*--------------About------------------*/
/* ===== About Section Layout ===== */

#about .row{
    align-items: center;
}

.about-img{
    width:100%;
    max-width:520px;
    border-radius:40px;
}

#about{
    padding-top:60px;
    padding-bottom:60px;
}

.about-title{
    font-size:42px;
    font-weight:600;
}



/*---------------Services-----------------*/

.card img{
    height:200px;
    width:100%;
    object-fit:cover;
    transition:transform 0.5s ease;
}

/* Equal height service cards */
#service .card{
    height:100%;
    display:flex;
    flex-direction:column;
}

#service .card-body{
    flex:1;
    display:flex;
    flex-direction:column;
}

#service .card-body a{
    margin-top:auto;
}

.inner{
    overflow: hidden;
}

.card:hover img{
    transform:scale(1.08);
    transition: 1s;
}

@media (max-width:768px){

    .card img:hover{
        transform:none;
    }

}


.card{
    border:none;
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    transition:transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 70px rgba(0,0,0,0.15);
}




.card-text {
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.description.expanded {
    -webkit-line-clamp: unset;
    display: block;
}



/*-----------------contact-----------------------*/

form{
    padding: 40px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2), -1px -1px 5px rgba(0,0,0,0.5);
    border-radius: 30px;
}

/*------------------------footer--------------------------------*/

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

.site-footer{
    width:100%;
    background:#0f172a;
    color:#cbd5e1;
    padding:70px 0 25px;
}

.site-footer .container{
    max-width:1200px;
}
.footer-logo{
    width:140px;
    margin-bottom:15px;
}

.footer-text{
    font-size:14px;
    line-height:1.6;
    color:#94a3b8;
}

.site-footer h5{
    color:white;
    margin-bottom:15px;
}

.footer-links{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:8px;
}

.footer-links a{
    color:#94a3b8;
    text-decoration:none;
    transition:0.2s;
}

.footer-links a:hover{
    color:#f59e0b;
}

.footer-contact{
    font-size:14px;
    color:#94a3b8;
}

.footer-bottom{
    text-align:center;
    border-top:1px solid rgba(255,255,255,0.08);
    margin-top:40px;
    padding-top:15px;
    font-size:13px;
}

.footer-content{
    max-width:1400px;
    margin:auto;
    padding-left:40px;
    padding-right:40px;
}


/*------------------------cost Calculator--------------------------------*/

/* ===== Calculator Background Logo ===== */

.calculator-page{
    position:relative;
    min-height:100vh;
}

.calculator-page::before{
    content:"";
    position:fixed;
    inset:0;
    background-image:url("Proptimiz main logo.gif");
    background-repeat:no-repeat;
    background-position:center;
    background-size:110%;
    opacity:0.05;
    z-index:-1;
    pointer-events:none;
}


/* Calculator cards */

#cal-inputs .card,
#cal-results .card{
    padding:20px;
}

/* Inputs inside calculator */

#cal-inputs input,
#cal-inputs select{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    font-size:16px;
    border-radius:8px;
    border:1px solid #ccc;
}

/* Labels */

#cal-inputs label{
    font-weight:500;
    margin-top:8px;
}

/* Radio selector row */

.operation-selector{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
}

/* Mobile adjustments */

@media (max-width:768px){

    .calculator-header{
        flex-direction:column;
        text-align:center;
        gap:10px;
    }

    #cal-inputs .card,
    #cal-results .card{
        padding:15px;
    }

    #cal-inputs input,
    #cal-inputs select{
        font-size:16px;
        padding:14px;
    }

}



/* ===== Locked Calculator Section ===== */

#cost-calculator {
    position: relative;
}

/* Blur only the calculator content */
.locked-calculator .row {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

/* Overlay */
.calculator-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45); /* lighter */
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
}

#cost-calculator{
    align-items:flex-start;
    padding-top:30px;
    padding-bottom:40px;
}

#cost-calculator h2{
    margin-bottom:10px;
}






















#drillingResults,#blastingResults,#muckingResults,#transportationResults{
  color: green;
}



/* === Corporate Flow Lines === */
.flow-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.flow-background svg {
    width: 120%;
    height: 120%;
    position: absolute;
    left: -10%;
    top: -10%;
}

.flow-line {
    stroke: #1f4ed8;
    stroke-width: 1;
    transition: transform 0.1s linear;
}

.flow-line.dark {
    opacity: 0.18;
}

.flow-line.light {
    opacity: 0.06;
}







/* === Auth Modal Upgrade === */

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.nav-tabs .nav-link {
    border-radius: 50px;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    background-color: #0d6efd;
    color: white;
    border: none;
}




/* === Premium Glass Modal === */

.modal-backdrop.show {
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.4);
}

body.modal-open .container-fluid {
    filter: blur(12px) brightness(0.92);
    transition: filter 0.3s ease;
}

.modal-content {
    background: #ffffff;
    border-radius: 28px;
    border: none;
    box-shadow:
            0 35px 90px rgba(0, 0, 0, 0.28),
            0 10px 30px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
        
    transform: scale(1);
    transition: all 0.25s ease;
}

.modal-content:hover {
    transform: translateY(-4px);
}





/* === Modern Input Upgrade === */

.form-floating > .form-control {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 1rem 0.9rem;
    height: 58px;
    transition: all 0.2s ease;
}

.form-floating > .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-floating > label {
    padding-left: 0.9rem;
    font-size: 0.9rem;
    color: #6b7280;
}



/* === Premium Pill Tabs (Refined) === */

.nav-tabs {
    border-bottom: none;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    padding: 8px 22px;
    margin: 0 6px;
    font-weight: 500;
    transition: all 0.25s ease;
    overflow: hidden;
}

.nav-tabs .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.nav-tabs .nav-link.active {
    background: #2563eb;
    color: white;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
}

.nav-tabs .nav-link,
.nav-tabs .nav-link.active {
    border: none !important;
    outline: none;
}

.nav-tabs {
    border-bottom: none !important;
}



/* === Auth Title Upgrade === */

.auth-title {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-text {
    color: #f59e0b; /* richer modern orange */
    text-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.2rem;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 420px;
    }
}



/* === Google Button Style === */

.btn-google {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #111827;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background: #f9fafb;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

@media (max-width:768px){

    .navbar-nav{
        text-align:center;
        padding-top:15px;
    }

    .nav-link{
        padding:12px 0;
        font-size:16px;
    }

    .navbar .btn{
        margin-top:10px;
        width:100%;
    }

}


/* ===== Calculator Cards ===== */

#cal-inputs .card,
#cal-results .card{
    border-radius:16px;
    border:none;
    padding:25px;
    background:#ffffff;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:transform 0.25s ease, box-shadow 0.25s ease;
}

/* subtle hover */
#cal-inputs .card:hover,
#cal-results .card:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 35px rgba(0,0,0,0.12);
}


/* ===== Calculator Inputs ===== */

#inputContainer{
    display:grid;
    grid-template-columns: 1.4fr 1fr;
    gap:14px 16px;
    align-items:center;
}

#inputContainer label{
    font-size:14px;
    font-weight:500;
}

#inputContainer input{
    width:100%;
    padding:8px 10px;
    font-size:14px;
    border-radius:6px;
    border:1px solid #ccc;
}

#inputContainer input:focus{
    border-color:#ff7a18;
    outline:none;
    box-shadow:0 0 4px rgba(255,122,24,0.3);
}


/* ===== Wider Calculator Layout (Desktop) ===== */

#cost-calculator .container{
    max-width:1200px;
}

@media (min-width:1200px){
    #cost-calculator .container{
        max-width:1350px;
    }
}




/* ===== Interactive Operation Pills ===== */



.operation-selector input[type="radio"]{
    display:none;
}

.operation-selector label{
    padding:10px 20px;
    border-radius:25px;
    border:1px solid #ddd;
    background:#f8f9fa;
    cursor:pointer;
    font-size:14px;
    transition:all 0.25s ease;
}

/* hover */
.operation-selector label:hover{
    background:#fff3e6;
    border-color:#ff7a18;
}

/* selected */
.operation-selector input[type="radio"]:checked + label{
    background:#ff7a18;
    color:white;
    border-color:#ff7a18;
    box-shadow:0 0 14px rgba(255,122,24,0.8),
               0 0 28px rgba(255,122,24,0.35);
    transform:translateY(-1px);
}

.operation-selector{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
    margin-top:4px;
    margin-bottom:16px;
}

@media (max-width:768px){
    .operation-selector{
        gap:10px;
    }

    .operation-selector label{
        padding:8px 16px;
        font-size:13px;
    }
}


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

.calculator-header{
    display:grid;
    grid-template-columns: auto 1fr auto;
    align-items:center;
    padding:15px 25px;
}

.calculator-title{
    text-align:center;
    margin:0;
    font-weight:600;
}

.calculator-logo{
    width:120px;
}

.calculator-actions{
    display:flex;
    gap:10px;
}
