/* PrajWare IT Solutions - Modern Redesign CSS */

:root {
    --primary-color: #004869;
    --primary-dark: #003350;
    --secondary-color: #85b9de;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --dark-bg: #0f1c28;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --border-color: #e9ecef;
    --white: #ffffff;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */

.main-navbar {
    background: var(--primary-color) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.main-navbar.scrolled {
    background: rgba(0, 72, 105, 0.98) !important;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    /* color: var(--primary-color) !important; */
    font-weight: 500;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:not(.btn):hover {
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.btn):hover::after {
    width: 100%;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    /* Use content-based height so the hero scales naturally
       when the browser zoom level changes, instead of always
       locking to full viewport height. */
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a3a52 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 140px 0 140px;
    margin-top: 40px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-mockup {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
}

.laptop-mockup img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Product Selector */
.product-selector {
    max-width: 400px;
}

.product-selector label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.product-btn {
    border-width: 2px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-group > :not(.btn-check) + label {
    margin-left: -2px;
}

.product-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--white);
    border: none;
    color: var(--primary-color) !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--white);
    color: var(--white) !important;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* ==========================================
   SPACING UTILITIES
   ========================================== */

.py-100 {
    padding: 100px 0;
}

.mb-80 {
    margin-bottom: 80px;
}

.mb-60 {
    margin-bottom: 60px;
}

/* ==========================================
   SECTION STYLES
   ========================================== */

.badge-label {
    display: inline-block;
    background: linear-gradient(135deg, #004869 0%, #003350 100%);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==========================================
   WHY US SECTION
   ========================================== */

.why-us-section {
    background: var(--light-bg);
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */

.products-section {
    background: var(--white);
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
}


.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #004869 0%, #003350 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--light-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.product-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 1.5rem 0;
    color: var(--text-dark);
}

.product-description {
    padding: 0 1.5rem;
    color: var(--text-light);
    margin: 0.5rem 0 1.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list i {
    color: #28a745;
    font-weight: bold;
}

.product-card .btn {
    margin-bottom: 1rem;
}

.product-card .btn:hover {
    color: var(--primary-color);
}

/* ==========================================
   TECHNOLOGY STACK SECTION
   ========================================== */

.tools-section {
    background: var(--light-bg);
}

.tech-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tech-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

/* Rotating animation for technology icons */
/* .tech-icon.rotating {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
} */

.tech-card h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tech-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Technology Icon Scroll */
.tech-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem 0;
}

.tech-scroll-container {
    display: flex;
    gap: 3rem;
    animation: scrollRight 30s linear infinite;
    width: max-content;
}

.tech-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    transition: all 0.3s ease;
}

.tech-icon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.tech-icon-item i {
    font-size: 4rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tech-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

.tech-icon-item:hover i {
    transform: scale(1.2);
    color: var(--primary-dark);
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   INQUIRY FORM SECTION
   ========================================== */

.inquiry-section {
    background: var(--light-bg);
}

.inquiry-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-check-label {
    color: var(--text-dark);
    font-weight: 500;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* ==========================================
   QUOTATION & CONTACT SECTION
   ========================================== */

.quotation-section {
    background: var(--white);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.info-item h6 {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.info-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.info-item a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--text-dark);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */

.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.scroll-to-top i {
    font-size: 1.1rem;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================
   STATISTICS SECTION
   ========================================== */

   .industry-card{
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    cursor: pointer;
   }

   .btn-main {
    background: var(--primary-color);
    color: var(--white) !important;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
   }

    .btn-main:hover {
     background: var(--primary-dark);
     transform: translateY(-2px);
     box-shadow: var(--shadow-lg);
    }

   .industry-card .industry-link{
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    opacity: 0;
    max-height: 0;
    transform: translateY(-6px);
    overflow: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
   }

   .industry-card:hover .industry-link{
    opacity: 1;
    max-height: 40px;
    transform: translateY(0);
   }
   
.stats-section {
    background: var(--primary-color);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.stats-kicker {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.stats-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.stat-card {
    background: var(--primary-dark);
    border-radius: 20px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffffff, #e4ebff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    color: #001f2f;
    font-size: 1.6rem;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 4px 0 0;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ==========================================
   CUSTOM SOFTWARE SECTION
   ========================================== */

.custom-software-section {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.custom-software-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(0, 72, 105, 0.1);
    border-radius: 50%;
    top: -50px;
    right: -100px;
}

.custom-software-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 72, 105, 0.08);
    border-radius: 50%;
    bottom: -75px;
    left: -150px;
}

.custom-software-section .container {
    position: relative;
    z-index: 1;
}

.custom-software-section .section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.custom-software-section .lead {
    font-size: 1.2rem;
    line-height: 1.8;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.custom-info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.custom-info-box h5 {
    font-size: 1.3rem;
    font-weight: 700;
}

.custom-info-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.custom-stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.custom-stat-box i {
    font-size: 2rem;
}

.custom-stat-box h6 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.custom-stat-box p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.custom-software-section .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.custom-software-section .btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.custom-software-section .btn-success {
    background: #25D366;
    color: white;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.custom-software-section .btn-success:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */

.testimonials-section {
    background: var(--white);
}

.testimonial-controls {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.testimonial-nav-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.testimonial-nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.testimonials-carousel {
    overflow: hidden;
    border-radius: 15px;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    width: max-content;
}

.testimonial-card {
    width: 550px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: #001f2f !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h6 {
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white) !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ==========================================
   BLOG CONTENT TYPOGRAPHY
   ========================================== */

.blog-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-content p {
    margin-bottom: 1rem;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-content ul,
.blog-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content li {
    margin-bottom: 0.25rem;
}

.blog-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-content a:hover {
    color: var(--primary-dark);
}

.blog-content blockquote {
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
    color: var(--text-light);
    font-style: italic;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__animated {
    animation-duration: 0.8s;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .hero-image-wrapper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
    }
    
    .product-selector {
        max-width: 100%;
    }
    
    .inquiry-form {
        padding: 2rem;
    }
    
    .feature-card,
    .tech-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .py-100 {
        padding: 50px 0;
    }
    
    .mb-80 {
        margin-bottom: 40px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .hero-image-wrapper {
        height: 300px;
        margin-top: 2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
}
