/* Custom Home Styles - Premium Blue/Tech Theme - Fixed */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --primary-color: #009de0;
    --secondary-color: #2c3e50;
    --accent-color: #8e44ad;
    --text-color: #555;
    --light-bg: #f9fbfc;
    --white: #ffffff;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Poppins', sans-serif !important;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
    font-family: 'Poppins', sans-serif !important;
}

/* --- Utilities --- */
.section-padding {
    padding: 80px 0;
}

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

.text-primary {
    color: var(--primary-color) !important;
}

.text-white {
    color: var(--white) !important;
}

.relative {
    position: relative;
}

.shadow-box {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    transition: var(--transition);
}

.img-cover {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.rounded-btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
}

.btn-primary-custom {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary-custom:hover {
    background: #007bb5;
    color: #fff;
    border-color: #007bb5;
}

/* --- Premium Navbar Styling --- */
.navbar-premium {
    background-color: #133354 !important;
    /* User preferred color */
    padding: 0 1rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-premium .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 20px 15px !important;
    transition: all 0.3s;
    position: relative;
    border-bottom: 3px solid transparent;
}

.navbar-premium .navbar-nav .nav-item .nav-link:hover,
.navbar-premium .navbar-nav .nav-item.active .nav-link {
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: var(--primary-color);
}

/* Premium Dropdown */
.navbar-premium .dropdown-menu {
    border: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 0;
    background: #fff;
    min-width: 220px;
}

.navbar-premium .dropdown-item {
    padding: 12px 20px;
    font-size: 13px;
    border-bottom: 1px solid #f1f1f1;
    color: #555;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.navbar-premium .dropdown-item:last-child {
    border-bottom: none;
}

.navbar-premium .dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px;
    /* Slide effect */
}

.navbar-premium .dropdown-item i,
.navbar-premium .dropdown-item img {
    margin-right: 12px;
    width: 18px;
    text-align: center;
}

/* --- Banner / Slider Fix (Bootstrap 4 Compatible) --- */
#homeCarousel {
    margin-top: -22px;
}

.home-slider .carousel-item {
    height: 500px;
    background-color: #000;
}

.home-slider .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.carousel-caption {
    bottom: 35%;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.carousel-caption h1 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 16px;
    color: #f1f1f1;
    margin-bottom: 20px;
}

/* --- Appointment Section --- */
.appointment-steps {
    margin-top: 20px;
}

.step-item {
    display: flex;
    margin-bottom: 25px;
    align-items: center;
}

/* Updated Step Icon Styles for FontAwesome */
.step-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 157, 224, 0.2);
    transition: var(--transition);
}

.step-item:hover .step-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.step-content {
    margin-left: 20px;
}

.step-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-content h4 {
    margin: 5px 0;
    font-size: 18px;
}

.step-content p {
    font-size: 13px;
    margin-bottom: 0;
}

/* Appointment Form */
.appointment-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
}

.appointment-form h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.appointment-form .form-control {
    height: 45px;
    background: #f8f9fa;
    border: 1px solid #eee;
    box-shadow: none;
    font-size: 14px;
    margin-bottom: 15px;
}

.appointment-form textarea.form-control {
    height: auto;
}

/* --- Services Circular Section --- */
.services-circle-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.service-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.text-right .service-card:hover {
    transform: translateX(-5px);
}

.service-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.service-card p {
    font-size: 12px;
    line-height: 1.5;
    color: #777;
}

/* Center Image Fixed Size */
.service-center-img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    margin: 20px 0;
}

.service-center-img img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* --- Features Grid --- */
.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
    min-height: 220px;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Updated Feature Icon Styles for FontAwesome */
.feature-icon {
    margin-bottom: 20px;
    font-size: 40px;
    color: var(--primary-color);
    transition: var(--transition);
}

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

.feature-box h5 {
    font-size: 16px;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 13px;
    color: #777;
}

/* --- Stats Section --- */
.stats-section {
    background: var(--primary-color);
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 60px 0;
}

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

.stat-number {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* --- Brands Section --- */
.brands-section {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.brand-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

.brand-item img {
    max-height: 40px;
    width: auto;
}

.brand-item i {
    color: #333;
}

/* --- Testimonials --- */
.testimonials-section {
    background: url('../../developer/images/wall2.jpg') fixed center center;
    background-size: cover;
    position: relative;
    padding: 80px 0;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

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

.testimonial-card {
    background: transparent;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-text {
    font-size: 20px;
    font-style: italic;
    color: #ddd;
    line-height: 1.8;
    margin-top: 20px;
}

.client-name {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.client-date {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 5px;
}

.client-rating {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 15px;
}

.client-img i {
    color: #ccc;
    font-size: 60px;
}

/* --- Concept / About Fix --- */
.img-wrapper {
    text-align: center;
}

.img-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}