/* About Section Tile */
.about-tile {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10), 0 1.5px 4px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
    margin: 0 auto 2rem auto;
    max-width: 700px;
    text-align: left;
    border: 1px solid #f0f0f0;
}
.about-tile p {
    margin: 0;
    font-size: 1.15rem;
    color: #222;
    line-height: 1.7;
}

/* About Highlight Tiles */
.about-highlight-tile {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    padding: 2rem;
    margin: 0 auto 2rem auto;
    max-width: 500px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-highlight-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 50px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
}

.about-highlight-tile h3 {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    color: #2c5aa0;
    font-weight: 600;
}

.about-highlight-tile p {
    margin: 0;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Family Business specific styling */
.family-business {
    border-color: #28a745;
    background: linear-gradient(135deg, #f0f8f0 0%, #ffffff 100%);
}

.family-business h3 {
    color: #28a745;
}

/* Certifications styling */
.certifications {
    border-color: #007bff;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
}

.certifications h3 {
    color: #007bff;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.cert-badge {
    background: #007bff;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* BBB Rating styling */
.bbb-rating {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
}

.bbb-rating h3 {
    color: #ffc107;
}

.rating-badge {
    display: inline-block;
    background: #ffc107;
    color: #333;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 60px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Mobile responsiveness for highlight tiles */
@media (max-width: 768px) {
    .about-highlight-tile {
        margin: 0 auto 1.5rem auto;
        padding: 1.5rem;
    }
    
    .cert-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .cert-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
    padding-bottom: 60px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Animated Logo Styles for Navbar */
.sandboxcsp-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #2c5aa0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    /* Navbar logo style */
    color: white;
    background: transparent;
}

.sandboxcsp-logo hr {
    width: 1.5px;
    height: 20px;
    background: linear-gradient(to bottom, #2c5aa0, #667eea);
    border: none;
    margin: 0 0.2rem;
}

.letter {
    display: inline-block;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    color: inherit;
}

.letter:nth-child(1) { animation-delay: 0.1s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.3s; }
.letter:nth-child(4) { animation-delay: 0.4s; }
.letter:nth-child(5) { animation-delay: 0.5s; }
.letter:nth-child(6) { animation-delay: 0.6s; }
.letter:nth-child(7) { animation-delay: 0.7s; }
.letter:nth-child(8) { animation-delay: 0.8s; }
.letter:nth-child(9) { animation-delay: 0.9s; }
.letter:nth-child(10) { animation-delay: 1.0s; }

.letter:hover {
    transform: translateY(-2px) scale(1.05);
    color: #1e3f73;
    color: #ffd700;
}

/* Remove the unused logo-separator class since we're using hr element */

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 5rem 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #111;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title .title-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.animate .title-letter {
    opacity: 1;
    transform: translateY(0);
}

/* Home Section */
.home {
    color: #222;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 80px;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.banner-content p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

/* Services Section removed - using general section background */

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: #2c5aa0;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

/* About Section */
/* About Section */
.about-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: #667eea;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

/* Contact Section removed - using general section background */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Form submission states */
.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: none;
}

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

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

.btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

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

.btn {
    background: #2c5aa0;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.btn:hover {
    background: #1e3f73;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }

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

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

    .sandboxcsp-logo {
        font-size: 1.2rem;
    }

    .sandboxcsp-logo hr {
        height: 16px;
    }

    section {
        padding: 3rem 0;
    }

    .home {
        margin-top: 60px;
    }
}

/* Footer Styles */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo .sandboxcsp-logo {
    color: white;
    font-size: 1rem;
}

.footer-logo .sandboxcsp-logo hr {
    background: linear-gradient(to bottom, white, #667eea);
    height: 12px;
}

.footer-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    margin: 0;
    white-space: nowrap;
}

.footer-description {
    opacity: 0.9;
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
    display: none;
}

.footer-links h4 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 0.9rem;
    display: none;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #667eea;
}

.social-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.footer-bottom {
    display: none;
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
    .footer {
        padding: 0.8rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-logo .sandboxcsp-logo {
        font-size: 0.9rem;
    }
    
    .footer-tagline {
        font-size: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .social-icon {
        width: 12px;
        height: 12px;
    }
}

/* Add bottom padding to body to account for sticky footer */