/* ==========================
   GLOBAL STYLES
========================== */

html{
    scroll-behavior:smooth;
     overflow-x: hidden;
      max-width: 100%;
}
* {
      box-sizing: border-box;
    }
body{
    padding-top:80px;
    font-family:"Google Sans","Roboto",sans-serif;
    color:#544949;
    overflow-x:hidden;
}

.container{
    position:relative;
    z-index:2;
}

a{
    text-decoration:none;
}

h1,h2,h3,h4,h5,h6{
    font-family:"Google Sans","Roboto",sans-serif;
    color:#595959;
    font-weight:500;
}

/* ==========================
   COMMON BUTTONS
========================== */

.btn-primary-custom{
    background:#FF8525;
    border:2px solid #FF8525;
    color:#fff;
    transition:.3s;
}

.btn-primary-custom:hover{
    background:#e67420;
    border-color:#e67420;
    color:#fff;
}

/* ==========================
   HEADER (COMMON ALL PAGES)
========================== */

.navbar{
    background:#2B354B;
    padding:12px 0;
    box-shadow:0 2px 20px rgba(0,0,0,.1);
    transition:.3s;
}

.navbar.sticky{
    padding:8px 0;
}

.navbar-brand img{
    max-height:50px;
    transition:.3s;
}

.navbar.sticky .navbar-brand img{
    max-height:45px;
}

.nav-link{
    color:#fff !important;
    text-transform:uppercase;
    font-size:12px;
    font-weight:500;
    letter-spacing:1px;
    margin:0 8px;
}

.nav-link:hover,
.nav-link.active{
    color:#ff8525 !important;
}

.dropdown-menu{
    border:none;
    border-radius:8px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.dropdown-item{
    font-size:13px;
    text-transform:uppercase;
}

.dropdown-item:hover{
    background:#FF8525;
    color:#fff;
}

.btn-nav{
    background:#1a8952;
    color:#fff !important;
    padding:8px 24px !important;
    border-radius:4px;
}

.btn-nav:hover{
    background:#7cb342;
}

/* ==========================
   COMMON PAGE BANNER
========================== */

.page-banner{
    padding:120px 0 80px;
    background:#2B354B;
    color:#fff;
    text-align:center;
}

.page-banner h1{
    color:#fff;
    font-weight:700;
   
}

.page-banner p{
    color:rgba(255,255,255,.8);
}

/* ==========================
   SECTION TITLE
========================== */

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:42px;
    font-weight:700;
}

.section-title p{
    color:#6c757d;
}

/* ==========================
   CARDS
========================== */

.custom-card{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:12px;
    transition:.3s;
}

.custom-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 30px rgba(0,0,0,.08);
}

/* ==========================
   FORM STYLES
========================== */

.form-control,
.form-select{
    border:2px solid #e9ecef;
    border-radius:8px;
    min-height:55px;
}

.form-control:focus,
.form-select:focus{
    border-color:#FF8525;
    box-shadow:none;
}

.btn-submit{
    background:#FF8525;
    color:#fff;
    border:none;
    padding:14px 40px;
    border-radius:8px;
}

.btn-submit:hover{
    background:#e67420;
}

/* ==========================
   FOOTER (COMMON ALL PAGES)
========================== */

.main-footer{
    background:#2B354B;
    color:rgba(255,255,255,.8);
    padding:60px 0;
}

.main-footer h2,
.main-footer h3,
.main-footer h4{
    color:#fff;
    font-size:18px;
    text-transform:uppercase;
    margin-bottom:20px;
}

.main-footer ul{
    list-style:none;
    padding:0;
    margin:0;
}

.main-footer li{
    margin-bottom:10px;
}

.main-footer a{
    color:rgba(255,255,255,.8);
    transition:.3s;
}

.main-footer a:hover{
    color:#FF8525;
}

.copyright-footer{
    background:#172137;
    color:#fff;
    text-align:center;
    padding:15px 0;
    font-size:14px;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:991px){

    body{
        padding-top:70px;
    }

    .navbar-collapse{
        background:#2B354B;
        padding:20px;
        border-radius:8px;
        margin-top:10px;
    }

    .section-title h2{
        font-size:34px;
    }
}

@media(max-width:768px){

    .page-banner{
        padding:90px 0 60px;
    }

    .page-banner h1{
        font-size:32px;
    }

    .section-title h2{
        font-size:28px;
    }

    .main-footer{
        text-align:center;
    }
}

@media(max-width:576px){

    .page-banner h1{
        font-size:26px;
    }

    .btn-submit{
        width:100%;
    }

    .navbar-brand img{
        max-height:42px;
    }
}

.animated-text span{
    display:inline-block;
    opacity:0;
    transform:translateY(30px);
    animation:letterReveal .6s ease forwards;
}

@keyframes letterReveal{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

 /* ===================================
   SERVICES GRID - PREMIUM LIGHT STYLE
=================================== */

.service-grid-card {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #333;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.service-grid-card:hover {
    transform: translateY(-6px);
  
}

.service-grid-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    opacity: 1.2;
}

.service-grid-card:hover .service-grid-bg {
    transform: scale(1.08);
    
}

/* White image ke liye readable overlay */
.service-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.15) 0%,
    
        rgba(103,103,103,0.92) 100%
    );
}

.service-grid-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

/* Simple icon */
.service-grid-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: #fff;
    line-height: 1;
}

.service-grid-title {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.4;
}

/* Premium button */
.btn-service-grid {
    display: inline-block;
    text-decoration: none;
    background: #ffffff;
    color: #233f92;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #233f92;
    letter-spacing: 0.3px;
}

.btn-service-grid:hover {
    background: #fff;
    color: #999;
    border-color: #fff;
    transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 991px) {
    .service-grid-card {
        height: 240px;
    }

    .service-grid-title {
        font-size: 1rem;
    }

    .service-grid-icon {
        font-size: 1.8rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .service-grid-card {
        height: 220px;
        border-radius: 10px;
    }

    .service-grid-content {
        padding: 1rem;
    }

    .service-grid-icon {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .service-grid-title {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .btn-service-grid {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .service-grid-card {
        height: 200px;
    }

    .service-grid-title {
        font-size: 0.9rem;
    }

    .btn-service-grid {
        padding: 7px 16px;
        font-size: 0.75rem;
    }
}