/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

/* Image and SVG animations */
img, svg {
    transition: var(--transition);
}

img:hover, svg:hover {
    transform: scale(var(--scale-hover));
}

/* Logo animations */
.logo-img {
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 86, 255, 0.1));
}

.logo-img:hover {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 4px 8px rgba(0, 86, 255, 0.2));
}

/* Hero banner animations */
.hero-banner {
    transition: var(--transition);
    overflow: hidden;
}

.hero-banner img, .hero-banner svg {
    transition: transform 0.5s ease;
}

.hero-banner:hover img, .hero-banner:hover svg {
    transform: scale(1.02);
}

/* Service icon animations */
.service-icon {
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
}

.service-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--hover-shadow);
}

.service-icon img, .service-icon svg {
    transition: var(--transition);
}

.service-icon:hover img, .service-icon:hover svg {
    transform: scale(1.1);
}

/* Portfolio thumbnail animations */
.portfolio-thumbnail {
    transition: var(--transition);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-thumbnail:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.portfolio-thumbnail img, .portfolio-thumbnail svg {
    transition: transform 0.4s ease;
}

.portfolio-thumbnail:hover img, .portfolio-thumbnail:hover svg {
    transform: scale(1.08);
}

/* Blog thumbnail animations */
.blog-thumbnail {
    transition: var(--transition);
    border-radius: 8px;
    cursor: pointer;
}

.blog-thumbnail:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Admin dashboard animations */
.admin-dashboard {
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
}

.admin-dashboard:hover {
    transform: scale(1.02);
    box-shadow: var(--hover-shadow);
}

/* Parallax effect for hero sections */
.parallax-element {
    transition: transform 0.1s ease-out;
}

/* Intersection Observer animations */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Hero images should always be visible */
.hero .animate-on-scroll,
.hero img,
.hero svg {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Staggered animations for multiple elements */
.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation:nth-child(6) { animation-delay: 0.6s; }
.stagger-animation:nth-child(7) { animation-delay: 0.7s; }
.stagger-animation:nth-child(8) { animation-delay: 0.8s; }
.stagger-animation:nth-child(9) { animation-delay: 0.9s; }
.stagger-animation:nth-child(10) { animation-delay: 1.0s; }

/* CSS Variables */
:root {
    --primary-blue: #0056FF;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333;
    --shadow: 0 4px 6px rgba(0, 86, 255, 0.1);
    --transition: all 0.3s ease;
    --hover-shadow: 0 8px 25px rgba(0, 86, 255, 0.15);
    --scale-hover: 1.05;
}

/* Global Animation Classes */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

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

/* Animation utility classes */

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Navigation Styles */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    height: 35px;
}

.logo img, .logo svg {
    height: 35px;
    width: auto;
    margin: 0;
    padding: 0;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background-color: rgba(0, 86, 255, 0.1);
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 25px;
    height: 20px;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
main {
    margin-top: 50px;
    min-height: calc(100vh - 50px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue), #0041cc);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner {
    margin-bottom: 30px;
    opacity: 1;
    transform: translateY(0);
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    animation: float 20s infinite linear;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;

}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;

}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);

}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 86, 255, 0.3);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;

}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;

}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);

}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 86, 255, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Portfolio Grid */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 86, 255, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, var(--primary-blue), #0041cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 25px;
    background: var(--white);
}

.portfolio-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.portfolio-content p {
    color: #666;
    margin-bottom: 15px;
}

.portfolio-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.portfolio-link:hover {
    text-decoration: underline;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 86, 255, 0.15);
}

/* Enhanced blog post hover effects */
.blog-post {
    transition: var(--transition);
    cursor: pointer;
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.blog-post img, .blog-post svg {
    transition: transform 0.4s ease, filter 0.3s ease;
}

.blog-post:hover img, .blog-post:hover svg {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-blue), #0041cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-title {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    text-decoration: underline;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 86, 255, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--primary-blue);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    transition: var(--transition);
}

.team-member:hover .team-avatar {
    transform: scale(1.1);
}

.team-name {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-role {
    color: #666;
    margin-bottom: 15px;
}

.team-bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.contact-info-container {
    height: fit-content;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-blue);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background: #0041cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 255, 0.3);
}

/* Admin Panel */
.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.login-form {
    max-width: 400px;
    margin: 100px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.submissions-table {
    width: 100%;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.submissions-table table {
    width: 100%;
    border-collapse: collapse;
}

.submissions-table th,
.submissions-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.submissions-table th {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 500;
}

.submissions-table tr:hover {
    background: var(--light-gray);
}

.reply-btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.reply-btn:hover {
    background: #0041cc;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */

@keyframes float {
    from {
        transform: translateX(-100px);
    }
    to {
        transform: translateX(calc(100vw + 100px));
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-blue);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #0041cc;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 800px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 999;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
        width: 90%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
        color: var(--dark-gray);
        text-decoration: none;
    }
    
    .nav-link:hover {
        background-color: rgba(0, 86, 255, 0.1);
        color: var(--primary-blue);
        transform: translateY(-2px);
    }

    .mobile-menu-toggle.active .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 100px 0 80px;
        text-align: center;
    }

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

    .hero-image {
        max-width: 90%;
        max-height: 200px;
        width: auto;
        height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .portfolio-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .team-card {
        padding: 25px 20px;
    }
    
    .portfolio-item {
        margin-bottom: 20px;
    }
    
    .blog-card {
        padding: 20px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 12px;
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .modal-content {
        margin: 10px;
        padding: 20px;
    }

    .hero {
        padding: 60px 0;
    }

    .service-card,
    .team-member {
        padding: 25px 20px;
    }

    .contact-form {
        padding: 25px 15px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-4 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Performance optimizations */
.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Keep banners visible with subtle animation */
.hero img, .hero svg {
    opacity: 1 !important;
    transform: scale(1) !important;
    animation: bannerPulse 4s ease-in-out infinite;
}

@keyframes bannerPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Floating WhatsApp Support Icon */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: whatsappBounce 2s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    animation-play-state: paused;
}

.whatsapp-float::before {
    content: "💬";
    font-size: 26px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

@keyframes whatsappBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

/* Responsive WhatsApp icon */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .whatsapp-float::before {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 20px;
    }
    
    .whatsapp-float::before {
        font-size: 18px;
    }
}