/* Call button in header */
.call-now-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1002;
    display: none; /* Initially hidden on mobile */
}

.call-now-button a {
    display: flex;
    align-items: center;
    background-color: #ff3f34;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 63, 52, 0.4);
    transition: all 0.3s ease;
}

.call-now-button i {
    margin-right: 0.5rem;
}

.call-now-button a:hover {
    background-color: #ea2c21;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 63, 52, 0.5);
}

/* Pulse animation for call button */
.pulse-animation {
    animation: pulse-call 2s infinite;
}

@keyframes pulse-call {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 63, 52, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 24px rgba(255, 63, 52, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 63, 52, 0.4);
    }
}

/* Show call button on larger screens */
@media (min-width: 992px) {
    .call-now-button {
        display: block;
    }
}

/* Floating call button for mobile */
.mobile-call-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: none; /* Initially hidden */
}

.mobile-call-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #ff3f34;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 63, 52, 0.4);
    animation: pulse-call 2s infinite;
}

/* Show mobile call button only on small screens */
@media (max-width: 991px) {
    .mobile-call-button {
        display: block;
    }
}.form-success {
    display: none;
    background-color: #e8f5e9;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: center;
    color: #2e7d32;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-success i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-success.visible {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}/* Mobile adjustments for header */
@media (max-width: 767px) {
    .logo {
        max-height: 90px; /* Smaller on mobile */
        max-width: 220px; /* Smaller on mobile */
    }
    
    .scrolled .logo {
        max-height: 70px; /* Smaller when scrolled on mobile */
    }
    
    header {
        padding: 1rem; /* Less padding on mobile */
    }
    
    .scrolled {
        padding: 0.8rem 1rem;
    }
    
    .logo-container {
        justify-content: flex-start;
        padding-left: 5px;
    }
}/* Base styles and variables */
:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --primary-light: #4285f4;
    --text-light: #ffffff;
    --text-dark: #202124;
    --background: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #dadce0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background: var(--background);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 4rem 1rem;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 0.5rem auto;
}

/* Header and Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem; /* Significantly increased from 1.5rem */
    background: var(--background);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.scrolled {
    padding: 1.2rem 1rem; /* Increased from 0.9rem */
    background: rgba(255, 255, 255, 0.95);
}

.logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
    position: absolute;
    left: 0;
}

.logo {
    height: auto; /* Maintain aspect ratio */
    max-height: 110px; /* Reduced from 150px */
    max-width: 260px; /* Reduced from 350px */
    transition: var(--transition);
}

.scrolled .logo {
    max-height: 85px; /* Increased from 90px for scrolled state */
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 1rem;
        margin-left: auto;
    }
    
    .logo-container {
        position: relative;
        width: auto;
        justify-content: flex-start;
    }
}

.nav-button {
    background: var(--primary);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mobile-menu-button {
    z-index: 1001;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none;
    }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: var(--background);
    position: fixed;
    top: 100px; /* Increased from 80px to prevent overlap with header */
    right: -100%;
    width: 100%;
    z-index: 999;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

@media (max-width: 767px) {
    .mobile-nav {
        top: 110px; /* Even more space on smaller screens */
    }
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-button {
    background: var(--primary);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
}

/* Hero Section with Video */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    padding-top: 220px; /* Increased from 160px to account for larger header */
    padding-bottom: 60px; /* Added bottom padding */
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0.6));
}

/* Mobile adjustments for hero */
@media (max-width: 767px) {
    .hero {
        padding-top: 100px; /* Less on mobile since the header is smaller */
        height: auto; /* Allow it to expand as needed */
        min-height: 100vh; /* Still fill the viewport */
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-button {
    display: inline-block;
    background: var(--primary);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.9s;
}

.hero-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Call to Action */
.call-to-action {
    background: var(--primary);
    color: var(--text-light);
    padding: 1.5rem 1rem;
    text-align: center;
}

.call-to-action h2 {
    margin: 0;
    font-size: 1.5rem;
}

.call-to-action h2::after {
    display: none;
}

.call-to-action a {
    font-weight: bold;
    text-decoration: none;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .call-to-action h2 {
        font-size: 2rem;
    }
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-box {
    background: var(--background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.feature-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-image-container {
    height: 200px;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-box:hover .feature-image {
    transform: scale(1.05);
}

.feature-text {
    padding: 1.5rem;
    background: var(--primary);
    color: var(--text-light);
    height: 100%; /* Make sure blue background fills the entire height */
    display: flex;
    flex-direction: column;
}

.feature-text h3 {
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    background: var(--gray-light);
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Coverage Area */
.coverage-area {
    max-width: 1200px;
    margin: 0 auto;
}

.location-info {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.6;
}

.location-info p {
    margin-bottom: 1rem;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Reviews Section */
.reviews {
    background: var(--gray-light);
}

.reviews-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .reviews-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.reviewer {
    font-weight: 500;
    text-align: right;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    min-width: 30px;
}

.contact-form {
    background: var(--background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--primary);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 5rem; /* Increased padding for more space */
    position: relative;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.footer-logo-img {
    height: 90px; /* Adjusted for square logo */
    width: 90px; /* Added width for square proportions */
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start; /* Changed from center to flex-start for left alignment */
    margin-bottom: 2rem;
    padding-left: 0; /* Removed the padding to align directly with the logo */
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    position: absolute;
    bottom: 1.5rem; /* Added space from the bottom */
    left: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.5rem;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-right {
    position: absolute;
    bottom: 1.5rem; /* Added space from the bottom */
    right: 0;
}

.sclatriax-stamp {
    display: block;
    transition: var(--transition);
    padding: 5px; /* Add padding to increase clickable area */
}

.sclatriax-stamp:hover {
    transform: translateY(-5px);
}

.sclatriax-logo {
    height: 70px;
    border-radius: 10px;
    box-shadow: none; /* Removed shadow */
    display: block;
}

.white-background {
    background-color: var(--text-light);
    color: var(--primary);
    padding: 1.5rem 1rem;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sclatriax-link {
    color: var(--primary) !important;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.sclatriax-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Footer mobile adjustments */
@media (max-width: 767px) {
    .footer-content {
        padding-bottom: 250px; /* More space */
        position: relative;
    }
    
    .footer-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center !important;
    }
    
    .footer-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center !important; 
        padding-left: 0 !important;
        text-align: center;
    }
    
    .social-links {
        bottom: 150px; /* Much more space */
        position: absolute;
        left: 0;
        width: 100%;
    }
    
    .footer-right {
        position: absolute;
        right: 50%;
        transform: translateX(50%);
        bottom: 50px; /* More space */
    }
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn i {
    font-size: 1.2rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add pulse animation for call-to-action phone number */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 1s ease;
}