/**
 * Custom Design Improvements - Bhavyam Infotech
 * Comprehensive design fixes for professional appearance
 * Updated: 2026-01-02
 */

/* ===================================
   GLOBAL IMPROVEMENTS
   =================================== */

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better box sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Base image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Remove lazy loading opacity issue */
img[loading="lazy"] {
    opacity: 1 !important;
}

/* ===================================
   HEADER & NAVIGATION FIXES
   =================================== */

.tj-header-area {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.tj-header-area.sticky-header.sticky {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Logo styling */
.logo-box {
    display: flex;
    align-items: center;
}

.logo-box img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Navigation menu improvements */
.header-menu nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu nav ul li {
    position: relative;
}

.header-menu nav ul li a {
    font-size: 15px;
    font-weight: 500;
    color: #051229;
    padding: 10px 5px;
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
}

.header-menu nav ul li > a:hover,
.header-menu nav ul li.active > a {
    color: #0075ff;
}

/* Dropdown/Submenu Styles - Desktop Only */
@media (min-width: 992px) {
    .header-menu nav ul li.has-dropdown {
        position: relative;
    }

    .header-menu nav ul li.has-dropdown > a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Pro';
        font-weight: 300;
        margin-left: 5px;
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .header-menu nav ul li.has-dropdown:hover > a::after {
        transform: rotate(180deg);
    }

    .header-menu .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 280px;
        background: #fff;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 15px 0;
        margin-top: 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
        z-index: 999;
        display: block !important;
    }

    .header-menu nav ul li.has-dropdown:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 0;
    }

    .header-menu .submenu li {
        display: block;
        margin: 0;
    }

    .header-menu .submenu li a {
        padding: 12px 25px;
        color: #364052;
        font-size: 14px;
        font-weight: 400;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }

    .header-menu .submenu li a:hover {
        background: #f8f9fa;
        color: #0075ff;
        border-left-color: #0075ff;
        padding-left: 30px;
    }
}

/* ===================================
   HERO SLIDER IMPROVEMENTS
   =================================== */

.tj-hero-section-three {
    position: relative;
    overflow: hidden;
}

.tj-hero-item-three {
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

/* Hero overlay for better text readability */
.tj-hero-item-three::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 18, 41, 0.8) 0%, rgba(0, 117, 255, 0.6) 100%);
    z-index: 1;
}

.tj-hero-item-three .container {
    position: relative;
    z-index: 2;
}

/* Hero content styling */
.hero-content {
    padding: 100px 0;
}

.hero-meta {
    margin-bottom: 20px;
}

.hero-meta-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: rgba(0, 117, 255, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-desc p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 25px 0;
    line-height: 1.6;
}

.tj-btn-primary {
    background: #0075ff;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid #0075ff;
}

.tj-btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 117, 255, 0.4);
}

/* Slider navigation */
.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #0075ff;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #0075ff;
    width: 30px;
    border-radius: 5px;
}

/* ===================================
   BREADCRUMB SECTION IMPROVEMENTS
   =================================== */

.tj-breadcrumb-section {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
    padding: 120px 0 80px;
}

.tj-breadcrumb-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 18, 41, 0.85) 0%, rgba(0, 117, 255, 0.7) 100%);
    z-index: 1;
}

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

.breadcrumb-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb-list ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-list ul li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.breadcrumb-list ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list ul li a:hover {
    color: #0075ff;
}

/* ===================================
   ABOUT SECTION IMPROVEMENTS
   =================================== */

.tj-about-section,
.tj-about-section-two {
    padding: 100px 0;
    background: #fff;
}

/* Section headers */
.section-header {
    margin-bottom: 40px;
}

.section-sub-title {
    color: #0075ff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #051229;
    line-height: 1.3;
    margin: 0;
}

.section-title span {
    color: #0075ff;
}

/* About images */
.about-images {
    position: relative;
    padding-right: 40px;
}

.about-image-one {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-image-one img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image-one:hover img {
    transform: scale(1.05);
}

.about-image-two {
    position: absolute;
    bottom: -30px;
    right: -40px;
    width: 280px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 8px solid #fff;
}

.about-image-two img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-images-two img,
.choose-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-images-two img:hover,
.choose-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Experience badge */
.about-experience {
    position: absolute;
    bottom: 40px;
    left: 20px;
    background: #0075ff;
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 117, 255, 0.3);
    z-index: 10;
}

.experience-number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.experience-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin: 5px 0 0;
    line-height: 1.4;
}

/* About content */
.about-content-area {
    padding-left: 40px;
}

.about-content p {
    font-size: 16px;
    color: #364052;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content p strong {
    color: #051229;
    font-weight: 600;
}

.about-button {
    margin-top: 30px;
}

/* ===================================
   SERVICES SECTION IMPROVEMENTS
   =================================== */

.tj-service-section-two {
    padding: 100px 0;
}

.service-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 117, 255, 0.15);
    border-color: #0075ff;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0075ff 0%, #00c6ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 36px;
    color: #fff;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #051229;
    margin: 20px 0 15px;
}

.service-title a {
    color: #051229;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: #0075ff;
}

.service-item p {
    font-size: 15px;
    color: #364052;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: #0075ff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 15px;
}

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

.tj-choose-us-section,
.tj-why-choose-section {
    padding: 100px 0;
    background: #fff;
}

.choose-item,
.value-item {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.choose-item:hover,
.value-item:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.choose-icon,
.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0075ff 0%, #00c6ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.choose-icon i,
.value-icon i {
    font-size: 32px;
    color: #fff;
}

.choose-title,
.value-title {
    font-size: 22px;
    font-weight: 600;
    color: #051229;
    margin: 20px 0 15px;
}

.choose-item p,
.value-item p {
    font-size: 15px;
    color: #364052;
    line-height: 1.7;
    margin: 0;
}

.choose-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.choose-list li {
    padding: 12px 0;
    font-size: 16px;
    color: #364052;
    display: flex;
    align-items: center;
    gap: 15px;
}

.choose-list li i {
    color: #0075ff;
    font-size: 20px;
}

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

.tj-counter-section {
    padding: 80px 0;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed;
    position: relative;
}

.tj-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 18, 41, 0.9) 0%, rgba(0, 117, 255, 0.8) 100%);
    z-index: 1;
}

.tj-counter-section .container {
    position: relative;
    z-index: 2;
}

.counter-item {
    text-align: center;
    padding: 30px 20px;
}

.counter-number {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.counter-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin: 10px 0 0;
    font-weight: 500;
}

/* ===================================
   CTA SECTIONS IMPROVEMENTS
   =================================== */

.tj-cta-section,
.tj-contact-cta-section,
.tj-cta-section-two {
    padding: 80px 0;
    background-size: cover !important;
    background-position: center center !important;
    position: relative;
}

.tj-cta-section {
    background: linear-gradient(135deg, var(--color-dark-brown) 0%, #4a2818 50%, var(--color-brown) 100%) !important;
    background-color: var(--color-dark-brown) !important;
    position: relative;
}

.tj-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(55, 28, 21, 0.95) 0%, rgba(196, 115, 0, 0.90) 100%) !important;
    z-index: 1;
}

.tj-contact-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(55, 28, 21, 0.95) 0%, rgba(196, 115, 0, 0.90) 100%);
    z-index: 1;
}

.tj-cta-section-two::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(55, 28, 21, 0.95) 0%, rgba(196, 115, 0, 0.90) 100%);
    z-index: 1;
}

.cta-content,
.cta-title {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.tj-btn-secondary {
    background: var(--color-gold);
    color: var(--color-dark-brown);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid var(--color-gold);
    position: relative;
    z-index: 2;
}

.tj-btn-secondary:hover {
    background: #fff;
    color: var(--color-dark-brown);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(185, 179, 90, 0.4);
}

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

.tj-footer-area {
    background: #051229;
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-desc p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-widget-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 25px;
}

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

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 15px;
}

.footer-menu li a:hover {
    color: #0075ff;
    padding-left: 5px;
}

.footer-social ul {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.footer-social ul li a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social ul li a:hover {
    background: #0075ff;
    transform: translateY(-3px);
}

.footer-contact .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 117, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #0075ff;
    font-size: 16px;
}

.contact-info {
    flex: 1;
}

.contact-info p,
.contact-info a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0075ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

.footer-bottom-content strong {
    color: #fff;
}

/* ===================================
   MISSION & VISION SECTION
   =================================== */

.tj-mission-vision-section {
    padding: 80px 0;
}

.mission-box,
.vision-box {
    background: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 117, 255, 0.15);
}

.mission-icon,
.vision-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0075ff 0%, #00c6ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mission-icon i,
.vision-icon i {
    font-size: 32px;
    color: #fff;
}

.mission-title,
.vision-title {
    font-size: 26px;
    font-weight: 600;
    color: #051229;
    margin: 0 0 20px;
}

.mission-box p,
.vision-box p {
    font-size: 16px;
    color: #364052;
    line-height: 1.8;
    margin: 0;
}

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

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0075ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 117, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top:hover {
    background: #051229;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 117, 255, 0.5);
}

/* ===================================
   RESPONSIVE DESIGN - TABLET
   =================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 52px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-content-area {
        padding-left: 0;
        margin-top: 40px;
    }

    .about-images {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-image-two {
        position: static;
        width: 100%;
        margin-top: 20px;
    }

    .choose-image {
        margin-top: 40px;
    }

    .tj-hero-item-three {
        min-height: 600px;
    }

    /* Hide desktop menu, show mobile menu */
    .header-menu {
        display: none;
    }
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE
   =================================== */

@media (max-width: 767px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-desc p {
        font-size: 16px;
    }

    .section-title {
        font-size: 30px;
    }

    .breadcrumb-title {
        font-size: 36px;
    }

    .tj-breadcrumb-section {
        min-height: 250px;
        padding: 80px 0 60px;
    }

    .tj-hero-item-three {
        min-height: 500px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .tj-about-section,
    .tj-about-section-two,
    .tj-service-section-two,
    .tj-choose-us-section {
        padding: 60px 0;
    }

    .about-experience {
        position: static;
        margin-top: 20px;
    }

    .tj-btn-primary,
    .tj-btn-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }

    .cta-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .cta-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .footer-top {
        padding: 60px 0 30px;
    }

    .tj-counter-section {
        background-attachment: scroll;
    }

    .counter-number {
        font-size: 42px;
    }

    .service-item {
        margin-bottom: 20px;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .tj-header-area,
    .scroll-top,
    .preloader,
    .mouseCursor,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    .tj-hero-item-three,
    .tj-breadcrumb-section,
    .tj-counter-section {
        background: #f5f5f5 !important;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center {
    text-align: center;
}

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

.mt-30 {
    margin-top: 30px;
}

.pt-100 {
    padding-top: 100px;
}

.pb-100 {
    padding-bottom: 100px;
}
