/* ============================================
   Professional Advertising Agency Styles
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;700;900&display=swap');

/* Root Variables */
:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --secondary-color: #ef4444;
    --accent-color: #f87171;
    --dark-color: #000000;
    --light-color: #f8fafc;
    --text-color: #64748b;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #dc2626 0%, #000000 100%);
    --gradient-2: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
    --gradient-3: linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(220, 38, 38, 0.2);
    --shadow-xl: 0 20px 40px rgba(220, 38, 38, 0.3);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 0 !important;
    margin: 0;
    padding: 0;
}

main {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99) !important;
    box-shadow: 0 4px 30px rgba(220, 38, 38, 0.15);
    padding: 0.8rem 0;
    z-index: 9999 !important;
    border-bottom: 2px solid var(--primary-color);
}

.navbar .container {
    position: relative;
    z-index: 10000;
}

.navbar-collapse {
    position: relative;
    z-index: 10000;
}

.navbar-brand {
    font-size: 1.85rem;
    font-weight: 900;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

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

.brand-text {
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.brand-accent {
    color: var(--primary-color);
    position: relative;
}

.brand-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    opacity: 0.3;
    border-radius: 2px;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 0.25rem;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    padding: 0.6rem 1.2rem !important;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    opacity: 1;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

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

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.navbar-nav .nav-link.active::before {
    opacity: 1;
    background: rgba(220, 38, 38, 0.1);
}

/* Get Quote Button in Navbar */
.navbar-nav .nav-link.btn {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border: none;
    padding: 0.6rem 1.5rem !important;
    margin-left: 1rem !important;
    border-radius: 50px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link.btn::before {
    display: none;
}

.navbar-nav .nav-link.btn::after {
    display: none;
}

.navbar-nav .nav-link.btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    color: var(--white) !important;
}

/* Navbar Toggler */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(220, 38, 38, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover {
    background: rgba(220, 38, 38, 0.1);
    transform: scale(1.1);
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 0;
    z-index: 1;
    margin-top: 80px;
    opacity: 1;
    visibility: visible;
}

#heroCarousel {
    height: 100vh;
    min-height: 600px;
}

#heroCarousel .carousel-item {
    height: 100vh;
    min-height: 600px;
}

.slider-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.85) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.slider-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.slider-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.slider-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(220, 38, 38, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--primary-color);
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    margin: 0 5px;
}

.carousel-indicators button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    background: var(--dark-color) !important;
    border-top: 3px solid var(--primary-color);
}

.stats-section .stat-number {
    color: var(--white);
}

.stats-section .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section (Old - keeping for reference) */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 0;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
}

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

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

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.hero-stats {
    margin-top: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image with Floating Cards */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Section Styles */
.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* Portfolio Preview */
.portfolio-preview {
    padding: 100px 0;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h5 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
    background: var(--white);
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-box {
    background: var(--gradient-1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.2rem;
}

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

.testimonial-author strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-1);
    padding: 100px 0;
    color: var(--white);
}

.cta-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    border-radius: 50px;
}

.cta-section .btn-light:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Footer */
.footer-section {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-brand {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

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

.footer-heading {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

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

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Additional Styles for New Pages */

/* Page Header */
.page-header {
    padding: 100px 0 60px;
    position: relative;
    z-index: 1;
    margin-top: 80px;
    opacity: 1;
    visibility: visible;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.page-header h1,
.page-header .display-4 {
    color: var(--white) !important;
}

.page-header p,
.page-header .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

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

/* Service Detail Page */
.service-detail-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
}

/* Process Steps */
.process-step {
    padding: 2rem;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.process-step h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Portfolio Filter */
.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.portfolio-bg-1 { background: var(--gradient-1); }
.portfolio-bg-2 { background: var(--gradient-2); }
.portfolio-bg-3 { background: var(--gradient-3); }
.portfolio-bg-4 { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); }
.portfolio-bg-5 { background: linear-gradient(135deg, #000000 0%, #dc2626 100%); }
.portfolio-bg-6 { background: linear-gradient(135deg, #ef4444 0%, #000000 100%); }

.stat-number-large {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label-large {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
}

/* About Page */
.value-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.team-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-placeholder {
    width: 100%;
    height: 250px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
}

.team-social {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.achievement-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-form-card,
.contact-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.8;
}

.social-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.social-link-large {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1.25rem;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

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

.map-placeholder {
    box-shadow: var(--shadow-md);
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
}

/* Responsive Design */
@media (max-width: 992px) {
    .slider-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .slider-title {
        font-size: 2rem;
    }
    
    .slider-subtitle {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .slider-buttons .btn,
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    #heroCarousel {
        min-height: 500px;
    }
    
    #heroCarousel .carousel-item {
        min-height: 500px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Portfolio Detail Page Styles */
.project-hero {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 100px;
    margin-top: 80px;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.project-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.project-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.project-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.project-meta span {
    margin: 0 0.5rem;
}

.project-detail {
    padding: 80px 0;
}

.project-content {
    padding-right: 2rem;
}

.project-image-large {
    margin: 3rem 0;
}

.project-image-large img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg);
}

.results-list {
    margin-top: 1.5rem;
}

.result-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.result-item i {
    font-size: 1.5rem;
}

.project-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.sidebar-card h4 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.project-details-list {
    list-style: none;
    padding: 0;
}

.project-details-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-details-list li:last-child {
    border-bottom: none;
}

.project-details-list strong {
    color: var(--dark-color);
    font-weight: 600;
}

.project-details-list span {
    color: var(--text-color);
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-tag {
    padding: 0.5rem 1rem;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-share {
    display: flex;
    gap: 1rem;
}

.social-share-btn {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

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

/* Related Projects */
.related-projects {
    padding: 80px 0;
}

.related-project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.related-project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-project-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.related-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-project-card:hover .related-project-overlay {
    opacity: 1;
}

.related-project-info {
    background: var(--white);
}

.related-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-project-info h5 {
    color: var(--dark-color);
    font-size: 1.25rem;
}

@media (max-width: 992px) {
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .project-sidebar {
        position: relative;
        top: 0;
    }
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Prevent FOUC */
html {
    visibility: visible;
    opacity: 1;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

.whatsapp-float i {
    font-size: 32px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
}