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

:root {
    --primary: #1a5276;
    --secondary: #e67e22;
    --light: #f5f5f5;
    --dark: #333;
    --gray: #6c757d;
    --success: #27ae60;
    --transition-slow: 0.5s ease;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.2s ease;
    --shadow-small: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 15px rgba(0,0,0,0.1);
    --shadow-large: 0 15px 35px rgba(0,0,0,0.1);
    --shadow-button: 0 5px 15px rgba(230, 126, 34, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary);
    z-index: -1;
    transition: width var(--transition-medium);
}

.btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-button);
}

.btn:hover::before {
    width: 100%;
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--primary);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    margin: 15px auto 0;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info a {
    color: white;
}

.contact-info a:hover {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 600;
    position: relative;
    padding: 8px 2px;
    transition: color var(--transition-medium);
}

.nav-links a::before, 
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    transition: width var(--transition-medium), left var(--transition-medium), right var(--transition-medium);
}

.nav-links a::before {
    left: 50%;
    background-color: var(--secondary);
}

.nav-links a::after {
    right: 50%;
    background-color: var(--secondary);
}

.nav-links a:hover::before, 
.nav-links a:hover::after {
    width: 50%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/canberra-flooring-web-banner4.webp');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 0;
    position: relative;
    overflow: hidden;
}

/* Hero floating elements animation */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, rgba(26, 82, 118, 0.1) 100%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    animation: float 8s infinite ease-in-out;
}

.floating-element:nth-child(2) {
    animation-delay: 1s;
    animation-duration: 10s;
}

.floating-element:nth-child(3) {
    animation-delay: 2s;
    animation-duration: 7s;
}

.floating-element:nth-child(4) {
    animation-delay: 3s;
    animation-duration: 12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.05);
    }
    50% {
        transform: translateY(10px) translateX(20px) scale(0.95);
    }
    75% {
        transform: translateY(15px) translateX(-10px) scale(1.02);
    }
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform var(--transition-medium);
    z-index: -1;
}

.feature-item:hover .feature-icon {
    color: white;
    transform: rotateY(180deg);
}

.feature-item:hover .feature-icon::before {
    transform: scale(1);
}

/* Services Section */
.services {
    background-color: var(--light);
}

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

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-small);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-large);
}

.service-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-small);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(26, 82, 118, 0.05), transparent);
    z-index: 1;
    transition: height var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-medium);
    border-color: transparent;
}

.product-card:hover::before {
    height: 100%;
}

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.product-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.view-more {
    text-align: center;
    margin-top: 50px;
}

/* Gallery Section */
.gallery {
    background-color: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    position: relative;
    box-shadow: var(--shadow-medium);
    transition: box-shadow var(--transition-medium);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 82, 118, 0.9), rgba(230, 126, 34, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
    transform: translateY(20px);
}

.gallery-overlay h4 {
    transform: translateY(20px);
    transition: transform var(--transition-medium) 0.1s;
}

.gallery-overlay p {
    transform: translateY(20px);
    transition: transform var(--transition-medium) 0.2s;
}

.gallery-item:hover {
    box-shadow: var(--shadow-large);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.2) rotate(2deg);
}

.gallery-overlay h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
}

.gallery-overlay p {
    color: #ddd;
    font-size: 14px;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-medium);
    position: relative;
    transition: all var(--transition-medium);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.testimonial-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: var(--shadow-large);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 80px;
    color: #f0f0f0;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    margin-bottom: 20px;
    color: var(--gray);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray);
}

/* Stats Counter Styles */
.stats-counter {
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: var(--shadow-small);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transition: height var(--transition-medium);
    z-index: -1;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.stat-item:hover::before {
    height: 100%;
    opacity: 0.05;
}

.stat-icon {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-title {
    font-size: 18px;
    color: var(--gray);
    font-weight: 500;
}

/* Rating */
.rating {
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 15px;
}

/* CTA Section */
.cta {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/api/placeholder/1200/400');
    background-size: cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.6) 70%);
    opacity: 0.7;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #ddd;
}

/* Floating call button */
.floating-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.call-button {
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all var(--transition-medium);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(230, 126, 34, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    }
}

.call-button:hover {
    transform: scale(1.1);
    background-color: var(--primary);
}

.call-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    padding: 8px 15px;
    border-radius: 4px;
    box-shadow: var(--shadow-medium);
    color: var(--dark);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.call-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.floating-call:hover .call-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-10px);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    color: var(--primary);
    font-size: 24px;
    min-width: 24px;
}

.contact-text h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-text p, .contact-text a {
    color: var(--gray);
}

.contact-form {
    background-color: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-medium);
    transform: translateY(0);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.form-group {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.form-group.form-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Form button success state */
.btn.success {
    background-color: var(--success);
}

.btn.success::before {
    width: 0;
}

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

.form-control {
    width: 100%;
    padding: 15px 18px;
    font-size: 16px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: all var(--transition-medium);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.2), inset 0 1px 3px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.map {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    height: 450px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding-top: 80px;
}

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

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-about p {
    color: #bbb;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

.footer-social a:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links li {
    margin-bottom: 15px;
    list-style: none;
}

.footer-links a {
    color: #bbb;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
}

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

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--secondary);
    font-size: 18px;
    min-width: 18px;
}

.footer-contact-text {
    color: #bbb;
}

.footer-newsletter p {
    color: #bbb;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    overflow: hidden;
    border-radius: 4px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 16px;
}

.newsletter-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-btn:hover {
    background-color: var(--primary);
}

.copyright {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 120px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        gap: 10px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .footer-grid {
        gap: 30px;
    }
}-width: 991px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max