/* === Component-Specific Styles === */

/* Navbar pill shape */
.nav-pill {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent);
}

/* Hero circle photo */
.hero-photo-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--accent);
    position: relative;
}

.hero-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Service card hover */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Arrow icon circle */
.arrow-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Timeline */
.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid;
    position: relative;
    z-index: 2;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d1d5db;
    transform: translateX(-50%);
    z-index: 1;
}

/* Portfolio card */
.portfolio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.portfolio-card img {
    transition: transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

/* Testimonial card */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Star rating */
.star {
    color: var(--accent);
}

/* CTA input */
.cta-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 69, 26, 0.15);
    outline: none;
}

/* Blog card */
.blog-card {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card img {
    transition: transform 0.4s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* Button styles */
.btn-accent {
    background-color: var(--accent);
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-outline {
    border: 2px solid var(--dark);
    color: var(--dark);
    background: transparent;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-outline:hover {
    background-color: var(--dark);
    color: white;
    transform: translateY(-1px);
}

/* Mobile nav */
.mobile-nav {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-nav.open {
    transform: translateX(0);
}

/* Responsive hero photo */
@media (max-width: 768px) {
    .hero-photo-circle {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 480px) {
    .hero-photo-circle {
        width: 200px;
        height: 200px;
    }
}

/* Custom Scrollbar Hiding */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
