/* =========================================
   GLOBAL RESET
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary-color:#ef8a12;
    --secondary-color:#14233b;
    --text-color:#475569;
    --light-bg:#fffbf9;
    --border-color:#e2e8f0;
    --white:#ffffff;
   --font-main:'Oswald',sans-serif;

}

body{

    width:100%;

    background:#ffffff;

    color:var(--text-color);

    /* font-family:var(--font-main); */
    font-family: 'Oswald',sans-serif;

    line-height:1.6;

    overflow-x:hidden;

    padding-top:120px;

}

a{
    text-decoration:none;
    color:inherit;
}

.container{

    max-width:1200px;

    margin:0 auto;

    padding:0 20px;

}

h1,h2,h3,h4,h5{

    color:var(--secondary-color);

    line-height:1.2;

}

/* =========================================
   NAVBAR
========================================= */

.navbar{

    width:100%;
    height:120px;

    background:#ffffff;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 60px;

    box-shadow:0 4px 15px rgba(0,0,0,0.06);

    position:fixed;

    top:0;
    left:0;

    z-index:99999;

}

/* LOGO */

.logo img{
    width:190px;
}

/* NAV LINKS */

.nav-links{

    display:flex;
    align-items:center;

    gap:38px;

}

.nav-links a{

    text-decoration:none;

    color:#14233b;

    font-size:18px;
    font-weight:500;

    position:relative;

    transition:0.3s;

}

.nav-links a:hover,
.nav-links a.active{
    color:#ef850f;
}

.nav-links a.active::after{

    content:'';

    position:absolute;

    left:0;
    bottom:-10px;

    width:38px;
    height:4px;

    background:#ef850f;

    border-radius:20px;

}

/* BUTTON */

.quote-btn a{

    background:#ef850f;

    color:#ffffff;

    padding:16px 30px;

    border-radius:5px;

    font-size:18px;
    font-weight:500;

    transition:0.3s;

    display:inline-block;

}

.quote-btn a:hover{
    background:#d97706;
}

/* HAMBURGER */

.menu-toggle{

    display:none;

    font-size:34px;

    cursor:pointer;

    color:#041d4f;

}

/* =========================================
   HERO SECTION
========================================= */

.angled-hero{

    position:relative;

    height:300px;

    display:flex;
    align-items:center;

    background:
    linear-gradient(
    110deg,
    var(--secondary-color) 45%,
    var(--primary-color) 45%,
    var(--primary-color) 45.4%,
    transparent 45.4%
    ),

    url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1920&q=80')
    center/cover;

}

.hero-content-angled{

    position:relative;

    z-index:2;

    color:#ffffff;

    width:100%;

}

.hero-content-angled h1{

    font-size:3rem;

    color:#ffffff;

    margin-bottom:15px;

}

.breadcrumb{

    font-size:0.9rem;

    font-weight:500;

}

.breadcrumb span{
    color:var(--primary-color);
}

/* =========================================
   PORTFOLIO
========================================= */

.portfolio-section{
    padding:60px 0;
}

/* SECTION TITLE */

.section-title{

    text-align:center;

    margin-bottom:40px;

}

.kicker{

    color:var(--primary-color);

    font-size:0.85rem;
    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    display:block;

    margin-bottom:10px;

}

.section-title h2{
    font-size:2.2rem;
}

/* FILTER */

.filter-bar{

    display:flex;
    justify-content:center;
    flex-wrap:wrap;

    gap:15px;

    margin-bottom:40px;

}

.filter-btn{

    padding:8px 24px;

    border-radius:30px;

    border:1px solid var(--border-color);

    background:#ffffff;

    color:var(--text-color);

    font-weight:600;

    cursor:pointer;

    transition:0.3s;

}

.filter-btn.active{

    background:var(--primary-color);

    color:#ffffff;

    border-color:var(--primary-color);

}

/* PROJECT GRID */

.projects-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

    margin-bottom:50px;

}

.project-card{

    background:#ffffff;

    border-radius:12px;

    overflow:hidden;

    border:1px solid #f1f5f9;

    box-shadow:0 4px 15px rgba(0,0,0,0.03);

    transition:0.3s;

}

.project-card:hover{

    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(0,0,0,0.08);

}

.project-card img{

    width:100%;
    height:180px;

    object-fit:cover;

}

.project-info{
    padding:20px;
}

.project-category{

    display:block;

    color:var(--primary-color);

    font-size:0.7rem;
    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    margin-bottom:8px;

}

.project-title{

    font-size:1.1rem;

    margin-bottom:12px;

}

.project-link{

    font-size:0.85rem;
    font-weight:600;

    color:var(--secondary-color);

    display:flex;
    align-items:center;

    gap:6px;

}

/* =========================================
   CTA
========================================= */

.cta-banner-wrapper{
    padding:40px 20px;
}

.cta-banner{

    background-color:var(--secondary-color);

    border-radius:12px;

    padding:24px 40px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:25px;

    color:#ffffff;

    max-width:1050px;

    margin:0 auto;

}

.cta-content{

    display:flex;
    align-items:center;

    gap:25px;

}

.cta-icon-wrapper{

    width:60px;
    height:60px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:var(--primary-color);

    border:2px solid rgba(255,255,255,0.2);

    border-top-color:var(--primary-color);
    border-right-color:var(--primary-color);

    transform:rotate(-45deg);

    font-size:1.5rem;

}

.cta-text h3{

    color:#ffffff;

    font-size:1.5rem;

    margin-bottom:4px;

}

.cta-text p{
    color:#cbd5e1;
}

/* =========================================
   TESTIMONIALS
========================================= */

.testimonials-section{
    padding:60px 0 100px;
}

.testimonials-wrapper{

    position:relative;

    padding:0 50px;

}

.testimonials-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

}

.testimonial-card{

    background:#ffffff;

    border:1px solid var(--border-color);

    border-radius:12px;

    padding:30px;

    box-shadow:0 4px 15px rgba(0,0,0,0.02);

}

.stars{

    color:var(--primary-color);

    margin-bottom:15px;

    display:flex;

    gap:4px;

}

.test-text{

    font-size:0.95rem;

    color:var(--text-color);

    margin-bottom:25px;

    line-height:1.6;

}

.client-info{

    display:flex;
    align-items:center;

    gap:15px;

}

.client-img{

    width:50px;
    height:50px;

    border-radius:50%;

    object-fit:cover;

}

/* ARROWS */

.nav-arrow{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:45px;
    height:45px;

    border-radius:50%;

    border:1px solid var(--border-color);

    background:#ffffff;

    display:flex;
    justify-content:center;
    align-items:center;

    cursor:pointer;

    color:var(--primary-color);

}

.nav-prev{
    left:0;
}

.nav-next{
    right:0;
}

/* =========================================
   FOOTER
========================================= */

.footer{

    width:100%;

    background:#041d4f;

    color:#ffffff;

}

.footer-main{

    width:100%;

    padding:35px 45px 20px;

    display:flex;
    justify-content:space-between;

    gap:40px;

}

.footer-about{
    width:24%;
}

.footer-logo-video{

    width:180px;

    margin-bottom:18px;

    border-radius:8px;

}

.footer-about p{

    color:#d6d6d6;

    font-size:14px;

    line-height:24px;

    margin-bottom:22px;

}

.footer-social{

    display:flex;

    gap:10px;

}

.footer-social a{

    width:30px;
    height:30px;

    border:1px solid rgba(255,255,255,0.15);

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#ffffff;

}

.footer-links{

    display:flex;
    flex-direction:column;

    gap:10px;

}

.footer-links h3{

    color:#ffffff;

    font-size:18px;

    margin-bottom:10px;

}

.footer-links a,
.footer-links p{

    color:#d6d6d6;

    font-size:14px;

    line-height:24px;

}

.footer-bottom{

    width:100%;

    padding:15px 45px;

    border-top:1px solid rgba(255,255,255,0.08);

    display:flex;
    justify-content:space-between;
    align-items:center;

}

.footer-policy{

    display:flex;
    align-items:center;

    gap:10px;

}

.powered-by span{

    color:#d88b2f;

    font-weight:600;

}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:992px){

    /* NAVBAR */

    .navbar{

        height:85px;

        padding:0 20px;

    }

    body{
        padding-top:85px;
    }

    .menu-toggle{

        display:block;

        z-index:999999;

    }

    .quote-btn{
        display:none;
    }

    .nav-links{

        position:fixed;

        top:85px;
        left:-100%;

        width:100%;

        background:#ffffff;

        flex-direction:column;
        align-items:flex-start;

        padding:25px;

        gap:20px;

        transition:0.4s ease;

        box-shadow:0 10px 20px rgba(0,0,0,0.08);

        z-index:9999;

    }

    .nav-links.active{
        left:0;
    }

    .nav-links a{

        width:100%;

        padding-bottom:10px;

        border-bottom:1px solid #eeeeee;

    }

    /* HERO */

    .angled-hero{

        height:260px;

        background:
        linear-gradient(
        rgba(15,23,42,0.88),
        rgba(15,23,42,0.88)
        ),

        url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1920&q=80')
        center/cover no-repeat;

    }

    .hero-content-angled h1{
        font-size:42px;
    }

    /* PROJECTS */

    .projects-grid{
        grid-template-columns:repeat(2,1fr);
    }

    /* TESTIMONIALS */

    .testimonials-grid{
        grid-template-columns:1fr;
    }

    .testimonials-wrapper{
        padding:0;
    }

    .nav-arrow{
        display:none;
    }

    /* CTA */

    .cta-banner{

        flex-direction:column;

        text-align:center;

        gap:25px;

        padding:30px 20px;

    }

    .cta-content{
        flex-direction:column;
    }

    /* FOOTER */

    .footer-main{

        flex-wrap:wrap;

        padding:35px 20px;

    }

    .footer-about{
        width:100%;
    }

}

@media(max-width:576px){

    .logo img{
        width:150px;
    }

    .navbar{
        height:97px;
    }

    body{
        padding-top:75px;
    }

    .nav-links{
        top:75px;
    }

    /* HERO */

    .angled-hero{
        height:220px;
    }

    .hero-content-angled h1{
        font-size:34px;
    }

    .breadcrumb{
        font-size:14px;
    }

    /* SECTION */

    .section-title h2{
        font-size:32px;
    }

    /* FILTER */

    .filter-bar{
        gap:10px;
    }

    .filter-btn{
        width:100%;
    }

    /* PROJECTS */

    .projects-grid{
        grid-template-columns:1fr;
    }

    /* CTA */

    .cta-text h3{
        font-size:28px;
    }

    /* FOOTER */

    .footer-bottom{

        flex-direction:column;

        gap:10px;

        text-align:center;

        padding:20px;

    }

}


/* Login Form Styles */
/* ==========================================================================
   LOGIN MODAL / POPUP CSS (Updated with Image Logo & New Colors)
   ========================================================================== */
/* ==========================================================================
   LOGIN MODAL / POPUP CSS (Smaller & Compact Size)
   ========================================================================== */
.login-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: rgba(15, 23, 42, 0.7); backdrop-filter: blur(5px);
    z-index: 2000; display: none; align-items: center; justify-content: center;
    padding: 20px; opacity: 0; transition: opacity 0.3s ease;
}
.login-modal-overlay.active { display: flex; opacity: 1; }

.popup-card {
    background: #ffffff; 
    padding: 30px; /* Pehle 40px tha, ab kam kar diya */
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); 
    width: 100%; 
    max-width: 380px; /* Pehle 420px tha, ab box choda patla hoga */
    position: relative;
    margin-top: 80px; /* Navbar ke niche space */
    transform: translateY(30px); transition: transform 0.3s ease;
}
.login-modal-overlay.active .popup-card { transform: translateY(0); }

.close-modal {
    position: absolute; top: 12px; right: 15px; background: none; border: none;
    font-size: 1.3rem; color: #94a3b8; cursor: pointer; transition: 0.3s;
}
.close-modal:hover { color: var(--primary-color); }

/* Logo ka size thoda chota kiya hai */
.login-logo-img { text-align: center; margin-bottom: 20px; }
.login-logo-img img { max-width: 130px; height: auto; } /* Pehle 160px tha */

/* Headings thodi compact ki hain */
.popup-card h3 { text-align: center; font-size: 1.4rem; margin-bottom: 5px; color: #111827; font-weight: 700; }
.popup-card p.subtitle { text-align: center; color: #6b7280; font-size: 0.85rem; margin-bottom: 20px; }

/* Form Elements */
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: #111827; }
.input-wrapper { position: relative; }
.input-wrapper i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: 0.9rem; }

/* Inputs ko thoda chota (sleek) banaya hai */
.form-control { 
    width: 100%; padding: 12px 15px 12px 40px; 
    border: 1px solid transparent; border-radius: 6px; 
    font-size: 0.9rem; background-color: #f3f4f6; color: #111827; transition: all 0.3s; 
}
.form-control:focus { outline: none; border-color: var(--primary-color); background-color: #ffffff; box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1); }

.forgot-password { display: block; text-align: right; font-size: 0.8rem; color: #111827; margin: -5px 0 20px 0; font-weight: 700; transition: color 0.2s; }
.forgot-password:hover { color: var(--primary-color); text-decoration: underline; }

.btn-login { width: 100%; background: #ef8a12; color: #fff; border: none; padding: 12px; border-radius: 6px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: 0.3s; }
.btn-login:hover { background-color: #af6b18; }

.signup-link { text-align: center; margin-top: 20px; font-size: 0.9rem; color: #111827; }
.signup-link a { color: #111827; font-weight: 700; text-decoration: underline; }
.signup-link a:hover { color: var(--primary-color); }

@media (max-width: 480px) {
    .popup-card { padding: 30px 20px; margin-top: 60px; }
}



/* Mobile par layout fix */
@media (max-width: 768px) {
    .main-nav { 
        display: none !important; /* Menu hide */
    } 
    
    .header-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important; /* Button aur 3 lines ke beech ka gap */
    }

    .nav-links { 
              top: 95px !important;  /* Ye menu ko logo ke niche dhakel dega */
          }
    
    .mobile-menu-icon { 
        display: block !important; /* 3 lines dikhana */
    }
    
    .quote-btn {
        display: block !important; /* Button ko zabardasti dikhana */
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
    }
}