@font-face {
    font-family: 'JamilNoori';
    src: url('fonts/JameelNooriNastaleeq.ttf') format('truetype');
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6fb;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===== HEADER ===== */
header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(5px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

nav a {
    color: #fff;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    transition: 0.3s;
}

nav a:hover {
    color: #ffcc00;
}

/* ===== HERO SECTION WITH SLIDES ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 6s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1.08);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(10,31,68,0.85),
        rgba(255,153,0,0.4),
        rgba(10,31,68,0.85)
    );
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
    z-index: 1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp 1.5s ease;
    max-width: 800px;
    padding: 0 20px;
}

.slide-text {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 5px 20px rgba(0,0,0,0.7);
    opacity: 0;
    transition: all 1s ease;
    z-index: 2;
}

.slide.active .slide-text {
    opacity: 1;
    bottom: 80px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #ffb400;
    color: #000;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ===== STOCK TICKER STYLE ===== */

.ticker-section {
    background: #0a1f44;
    padding: 10px 0;
    overflow: hidden;
    border-top: 3px solid #ff9900;
    border-bottom: 3px solid #ff9900;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
}

.ticker {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollTicker 20s linear infinite;
}

.ticker-item {
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.ticker-item.up {
    color: #00ff88;
}

.ticker-item.down {
    color: #ff4d4d;
}

@keyframes scrollTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== WHY CHOOSE US ===== */
.why {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.why h2 {
    font-size: 32px;
    margin-bottom: 50px;
    color: #0a1f44;
    position: relative;
    display: inline-block;
}

.why h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffb400;
}

.cards {
    display: flex;
    gap: 30px;
}

.card {
    flex: 1;
    padding: 40px 20px;
    border-radius: 15px;
    background: #f4f6fb;
    transition: 0.4s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card i {
    font-size: 45px;
    color: #ffb400;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: #0a1f44;
}

.card:hover {
    transform: translateY(-15px);
    background: #0a1f44;
    color: white;
    box-shadow: 0 15px 30px rgba(10,31,68,0.3);
}

.card:hover i {
    color: #ffcc00;
}

.card:hover h3 {
    color: white;
}

/* ===== URDU TEXT ===== */
.urdu {
    font-family: 'Noto Nastaliq Urdu', serif;
    direction: rtl;
    line-height: 2;
    font-size: 18px;
}

/* ===== SERVICES SECTION (UPDATED - Space kam kiya) ===== */
.services {
    padding: 100px 0 25px 0;  /* Bottom padding kam kiya (40px se 25px) */
    background: #f4f6fb;
    text-align: center;
    margin-bottom: 0;
}

.services h2 {
    margin-bottom: 50px;
    color: #0a1f44;
    font-size: 32px;
    position: relative;
    display: inline-block;
}

.services h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffb400;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;  /* Gap thoda kam kiya */
    margin-bottom: 5px;  /* Bottom margin almost zero */
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.5s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 250px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,31,68,0.95), transparent);
    color: white;
    width: 100%;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: 0.5s;
    text-align: left;
}

.service-content h3 {
    margin-bottom: 10px;
    color: #ffcc00;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card:hover .service-content {
    transform: translateY(0);
}

/* ===== OPTION 2: MINIMAL PREMIUM LINE (NEW) ===== */
.section-divider {
    width: 60%;  /* Choti width - zyada premium look */
    height: 2px;  /* Patli line */
    margin: 5px auto 15px;  /* Space aur kam: top 5px, bottom 15px */
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ffaa00 30%, 
        #ffaa00 70%, 
        transparent 100%);
    position: relative;
    border-radius: 100px;
    opacity: 0.9;
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.2);
}

/* ===== GET QUOTE SECTION (UPDATED - Space kam kiya) ===== */
.get-quote-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 30px 20px 60px;  /* Top padding kam kiya (80px se 30px) */
    text-align: center;
    border-top: none;  /* Top border hata diya */
    border-bottom: 5px solid #ffcc00;
    margin: 0 0 40px 0;  /* Top margin 0 */
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    position: relative;
}

.get-quote-section.show {
    opacity: 1;
    transform: translateY(0);
}

.get-quote-section .section-title {
    color: #0a1f44;
    font-size: 32px;
    margin-bottom: 10px;
}

.get-quote-section .section-subtitle {
    color: #555;
    margin-bottom: 40px;
    font-size: 18px;
}

.get-quote-section form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.get-quote-section input,
.get-quote-section select {
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    width: 220px;
    max-width: 100%;
    transition: all 0.3s ease;
    font-size: 15px;
    background: white;
}

.get-quote-section input:focus,
.get-quote-section select:focus {
    outline: none;
    border-color: #ffcc00;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255,204,0,0.3);
}

.get-quote-section button {
    padding: 15px 40px;
    border: none;
    background: linear-gradient(45deg, #ffcc00, #ff9900);
    color: #0a1f44;
    font-weight: 700;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.get-quote-section button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,153,0,0.5);
    background: linear-gradient(45deg, #ff9900, #ffcc00);
}

/* Form success message */
.form-success {
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    animation: slideIn 0.5s ease;
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FOOTER ===== */
footer {
    background: #0a1f44;
    color: white;
    padding: 70px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

footer h3 {
    margin-bottom: 20px;
    color: #ffcc00;
    font-size: 20px;
}

footer p {
    margin-bottom: 10px;
    line-height: 1.6;
    opacity: 0.9;
}

footer a {
    color: #ffb400;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    margin-top: 5px;
}

footer a:hover {
    color: white;
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
    font-size: 14px;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    padding: 14px 25px;
    border-radius: 50px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: 0.3s;
    z-index: 1000;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.whatsapp i {
    font-size: 24px;
}

.whatsapp:hover {
    background: linear-gradient(45deg, #128C7E, #25D366);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 15px;
    }
    
    nav a {
        margin: 0 15px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .cards {
        flex-direction: column;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .get-quote-section form {
        flex-direction: column;
        align-items: center;
    }
    
    .get-quote-section input,
    .get-quote-section select,
    .get-quote-section button {
        width: 100%;
        max-width: 350px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .whatsapp {
        padding: 12px 20px;
        font-size: 14px;
        bottom: 15px;
        right: 15px;
    }
    
    .rate-content {
        font-size: 14px;
        animation: scrollRates 15s linear infinite;
    }
    
    /* Mobile ke liye divider ki width barhadi */
    .section-divider {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .why h2,
    .services h2,
    .get-quote-section .section-title {
        font-size: 26px;
    }
    
    .card {
        padding: 30px 15px;
    }
    
    /* Small mobile ke liye divider */
    .section-divider {
        width: 90%;
        margin: 5px auto 12px;
    }
}

/* ===== IMAGE FALLBACK ===== */
.no-image {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    height: 100%;
    width: 100%;
}

/* ===== PREMIUM STATS SECTION ===== */

.stats-section {
    background: #ff9900;
    padding: 60px 20px;
    text-align: center;
}

.stats-section .container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-box {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.stat-box h2 {
    font-size: 36px;
    color: #ff9900;
    margin-bottom: 8px;
}

.stat-box p {
    font-size: 15px;
    color: #0a1f44;
    font-weight: 600;
}

.service-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.process {
    background: #f4f4f4;
    padding: 60px 0;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    font-weight: bold;
}

/* Global */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5f7fa;
    color: #333;
}

.container {
    width: 85%;
    margin: auto;
}

/* Hero Section */
.page-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('https://images.unsplash.com/photo-1503387762-592deb58ef4e');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #1e3c72;
}

/* Process Section */
.process-section {
    background: #1e3c72;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.process-section h2 {
    margin-bottom: 50px;
    font-size: 36px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.step:hover {
    background: rgba(255,255,255,0.2);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: #fcb045;
    color: white;
}

.cta-section h2 {
    margin-bottom: 30px;
    font-size: 32px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #1e3c72;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #16305a;
}

/* ===== SERVICES HEADING STYLE ===== */

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Yellow Line Under Heading */
.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #ffcc00;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Ensure heading container is centered */
.services-section .container {
    text-align: center;
}

/* ===== PREMIUM SERVICE CARD DESIGN ===== */

.service-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* TOP HALF */
.card-top {
    background: #1e3c72; /* same tone like footer */
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.card-top i {
    font-size: 40px;
    margin-bottom: 15px;
}

.card-top h3 {
    font-size: 18px;
    font-weight: 600;
}

/* BOTTOM HALF */
.card-bottom {
    background: #ffcc00;
    padding: 20px;
    text-align: center;
}

.card-bottom p {
    margin: 0;
    color: #000;
    font-size: 14px;
    line-height: 1.6;
}
/* ===== FORCE REMOVE WHITE BACKGROUND ===== */

.services-page .services-grid {
    gap: 30px;
}

.services-page .service-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Remove any old white styling */
.services-page .service-card * {
    box-shadow: none;
}
/* FORCE WHITE HEADING IN SERVICES PAGE */
.services-page .card-top h3 {
    color: #ffffff !important;
}
.services-page .card-bottom p {
    font-family: 'JamilNoori', serif !important;
}

/* ===== FIX UNEVEN CARD HEIGHT ===== */

.services-page .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.services-page .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Top fixed height */
.services-page .card-top {
    background: #1e3c72;
    color: white;
    padding: 35px 20px;
    text-align: center;
}

/* Bottom takes equal remaining space */
.services-page .card-bottom {
    background: #ffcc00;
    padding: 20px 18px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Urdu Text */
.services-page .card-bottom p {
    margin: 0;
    font-family: 'JamilNoori', serif;
    font-size: 18px;
    line-height: 1.9;
}

/* SERVICES HERO */

.services-hero{
background:url('images/services-banner.png') center/cover no-repeat;
padding:130px 20px;
text-align:center;
color:#fff;
position:relative;
}

.services-hero::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
}

.services-hero .container{
position:relative;
z-index:2;
}

.breadcrumb{
margin-bottom:15px;
font-size:15px;
}

.breadcrumb a{
color:#ffcc00;
text-decoration:none;
}

.breadcrumb span{
color:#fff;
}

.services-hero h1{
font-size:48px;
margin-bottom:10px;
}

.services-hero p{
font-size:18px;
}


/* CONTACT HERO */

.contact-hero{
background:url('images/contact-hero.png') center/cover no-repeat;
padding:130px 20px;
text-align:center;
color:#fff;
position:relative;
}

.contact-hero::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
}

.contact-hero .container{
position:relative;
z-index:2;
}


/* CONTACT INFO */

.contact-info-section{
padding:60px 20px;
}

.contact-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
text-align:center;
}

.contact-card{
background:#fff;
padding:30px;
border-radius:8px;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.contact-card i{
font-size:30px;
color:#1e3c72;
margin-bottom:15px;
}

.contact-card h3{
margin-bottom:10px;
}


/* CONTACT FORM */

.contact-form-section{
padding:70px 20px;
background:#f9f9f9;
}

.form-container{
max-width:700px;
margin:auto;
text-align:center;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:12px;
margin-bottom:15px;
border:1px solid #ddd;
border-radius:5px;
font-size:15px;
}

.contact-form button{
background:#ffcc00;
border:none;
padding:12px 30px;
font-size:16px;
cursor:pointer;
border-radius:5px;
font-weight:600;
}

.contact-form button:hover{
background:#e6b800;
}

.success-msg{
background:#d4edda;
color:#155724;
padding:15px;
margin:20px auto;
max-width:600px;
text-align:center;
border-radius:5px;
font-weight:500;
}