/* ===== Modern CSS Design 2025 ===== */

/* Root Variables for Modern Color Palette */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --shadow-soft: 0 4px 32px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 20px 64px rgba(0, 0, 0, 0.2);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modern Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 9999;
}

.fab-button {
    background: var(--primary-gradient);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-strong);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.fab-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: conic-gradient(from 0deg, #667eea, #764ba2, #f093fb, #667eea);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fab-button:hover::before {
    opacity: 1;
}

.fab-button:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 25px 80px rgba(102, 126, 234, 0.4);
}

/* Floating Menu with Glass Effect */
.fab-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transform: scale(0) rotate(180deg);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center bottom;
}

.fab-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.fab-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.fab-item:hover::before {
    left: 100%;
}

.fab-item:hover {
    background: var(--secondary-gradient);
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.4);
}

.fab-container.active .fab-menu {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

/* Modern Navigation Bar */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(40px);
    box-shadow: var(--shadow-soft);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.nav-link {
    color: white !important;
    font-weight: 600;
    position: relative;
    padding: 10px 20px !important;
    border-radius: 25px;
    transition: var(--transition);
    margin: 0 5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 25px;
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    background: var(--glass-bg);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Language Toggle Button */
.btn-outline-light {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 700;
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline-light:hover::before {
    left: 0;
}

.btn-outline-light:hover {
    color: white;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* Hero Section with Modern Styling */
.bg-style {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.bg-style::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.bg-style::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.content {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: auto;
    z-index: 2;
    padding: 0 20px;
}

.content h2 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    margin-top: 8rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)); }
    to { filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.6)); }
}

.content h1 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.typed {
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-style: italic;
    font-weight: 300;
    opacity: 0.8;
    color: #e2e8f0;
}

/* Modern Button Styles */
.btn {
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    padding: 15px 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
}

.btn-light:hover {
    background: white;
    color: var(--text-primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-5px) scale(1.05);
}

/* Modern Social Media Icons */
.social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 3rem;
}

.social a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: white;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.social a:hover::before {
    transform: scale(1);
}

.social a:hover {
    color: white;
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.social a i {
    position: relative;
    z-index: 1;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-text {
    font-size: clamp(1.2rem, 4vw, 2rem);
    max-width: 85%;
    margin: 0 auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Advanced Image Hover Effects */
.img-hover {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.img-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: multiply;
}

.img-hover:hover::after {
    opacity: 0.3;
}

.img-hover:hover {
    transform: scale(1.05) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--shadow-strong);
}

/* Modern Gradient Backgrounds */
.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-secondary {
    background: var(--secondary-gradient);
}

.bg-gradient-accent {
    background: var(--accent-gradient);
}

/* Enhanced Button Hover Effects */
.btn-hover {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.btn-hover:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

/* Advanced Progress Bar Animation */
@keyframes progress-glow {
    0% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color); }
    100% { box-shadow: 0 0 5px var(--primary-color); }
}

.progress-bar {
    background: var(--primary-gradient);
    animation: progress-glow 2s ease-in-out infinite;
    border-radius: 10px;
}

/* Modern Service Cards */
.service {
    transition: var(--transition);
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service:hover::before {
    transform: scaleX(1);
}

.service:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-strong);
}

.icon-container {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.service:hover .icon-container::before {
    transform: scale(1);
}

.icon-container i {
    position: relative;
    z-index: 1;
}

/* Portfolio Section */
#portfolio {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

#portfolio .head h2 {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Filter Buttons */
.filter-btns .nav-item button {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: white;
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 10px 25px;
    margin: 5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.filter-btns .nav-item button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease;
}

.filter-btns .nav-item button.active,
.filter-btns .nav-item button:hover {
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-medium);
}

.filter-btns .nav-item button.active::before,
.filter-btns .nav-item button:hover::before {
    left: 0;
}

/* Enhanced Portfolio Items */
.port {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    background: white;
}

.port::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.port:hover::before {
    opacity: 0.1;
}

.port img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.port:hover img {
    transform: scale(1.1) rotate(2deg);
}

.port:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

/* Modern Content Overlay */
.port .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.port:hover .content {
    opacity: 1;
}

.port .content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    transform: translateY(30px);
    transition: transform 0.3s ease 0.1s;
}

.port:hover .content h2 {
    transform: translateY(0);
}

.port .content p {
    font-size: 1.1rem;
    padding: 0 20px;
    transform: translateY(30px);
    transition: transform 0.3s ease 0.2s;
    opacity: 0.9;
}

.port:hover .content p {
    transform: translateY(0);
}

/* Testimonials Section */
#testimonials {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/svg%3E");
}

#testimonials .head h2 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

#testimonials .carousel-inner {
    max-width: 900px;
    margin: auto;
    position: relative;
    z-index: 1;
}

#testimonials .text-center {
    position: relative;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    color: white;
}

#testimonials .author-img {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 2rem;
    position: relative;
}

#testimonials .author-img::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--accent-gradient);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#testimonials .author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#testimonials blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

#testimonials h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

#testimonials .text-muted {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Fun Facts Section */
#fun-facts {
    background: var(--dark-gradient);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#fun-facts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.fact {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s;
}

.fact:hover::before {
    left: 100%;
}

.fact:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.fact i {
    font-size: 4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
}

.fact h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.fact p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

.head h2 {
    font-size: 3rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 3rem;
}

.info .contact {
    transition: var(--transition);
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info .contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info .contact:hover::before {
    transform: scaleX(1);
}

.info .contact:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-10px);
}

.icon-container {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.info .contact:hover .icon-container::before {
    transform: scale(1);
}

.icon-container i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.contact h6 {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-muted {
    color: var(--text-secondary) !important;
    font-size: 1.1rem;
    line-height: 1.6;
}

.text-address {
    font-size: 1.1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.text-address::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.text-address:hover::after {
    width: 100%;
}

/* Modern Map Container */
.map-container {
    margin-top: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(20%) contrast(1.2);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* Modern Footer */
footer {
    background: var(--dark-gradient);
    color: #ffffff;
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M30 30c0-16.569-13.431-30-30-30s-30 13.431-30 30 13.431 30 30 30 30-13.431 30-30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

footer h2 {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.navbar-nav .nav-item {
    display: inline-block;
    margin: 0 15px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
    transition: var(--transition);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

/* Enhanced Social Media Icons */
footer .social {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

footer .social a {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

footer .social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

footer .social a:hover::before {
    transform: scale(1);
}

footer .social a:hover {
    color: white;
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.4);
}

footer .social a i {
    position: relative;
    z-index: 1;
}

/* Responsive Design Improvements */
@media (max-width: 1200px) {
    .content h2 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
    
    .modern-text {
        font-size: clamp(1.1rem, 3vw, 1.8rem);
    }
}

@media (max-width: 768px) {
    :root {
        --border-radius: 15px;
    }
    
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .fab-item {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .content {
        padding: 0 15px;
    }
    
    .content h2 {
        margin-top: 6rem;
    }
    
    .btn {
        font-size: 1rem;
        padding: 12px 30px;
    }
    
    .social {
        gap: 15px;
    }
    
    .social a {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    #portfolio .head h2,
    #testimonials .head h2,
    .head h2 {
        font-size: 2.5rem;
    }
    
    .service {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .icon-container {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .fact {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .fact i {
        font-size: 3rem;
    }
    
    .fact h3 {
        font-size: 2.5rem;
    }
    
    .info .contact {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    footer {
        padding: 60px 0 30px;
    }
    
    footer h2 {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-item {
        display: block;
        margin: 10px 0;
    }
    
    footer .social a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .content h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-top: 5rem;
    }
    
    .content h1 {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }
    
    .typed {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .service {
        padding: 1.2rem;
    }
    
    .fact {
        padding: 1.5rem 1rem;
    }
    
    .info .contact {
        padding: 1.5rem 1rem;
    }
    
    #testimonials .text-center {
        padding: 2rem 1.5rem;
    }
    
    #testimonials blockquote {
        font-size: 1.2rem;
    }
    
    footer .social {
        gap: 10px;
    }
}

/* Advanced Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-15px); }
    70% { transform: translateY(-7px); }
    90% { transform: translateY(-3px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInScale {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Utility Animation Classes */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-shake {
    animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.animate-slide-left {
    animation: slideInFromLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInFromRight 0.6s ease-out;
}

.animate-fade-scale {
    animation: fadeInScale 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* Selection Styling */
::selection {
    background: var(--primary-gradient);
    color: white;
}

::-moz-selection {
    background: var(--primary-gradient);
    color: white;
}

/* Focus States for Accessibility */
button:focus,
.btn:focus,
a:focus {
    outline: 3px solid rgba(102, 126, 234, 0.4);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    animation: loading 1s linear infinite;
}

/* Final Touches */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container-fluid,
.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Modern Link Styles */
a {
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: none;
}

/* Enhanced Form Controls */
.form-control {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: var(--primary-gradient);
    color: white;
}

.form-control:focus::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Modern Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-header {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

/* Modern Badge Styles */
.badge {
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary-gradient);
}

.badge-secondary {
    background: var(--secondary-gradient);
}

/* Modern Alert Styles */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid;
}

.alert-primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left-color: #667eea;
    color: #667eea;
}

.alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(56, 193, 114, 0.1));
    border-left-color: #28a745;
    color: #28a745;
}

/* Print Styles */
@media print {
    .fab-container,
    .navbar,
    footer .social,
    .btn {
        display: none !important;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}