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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #0f3d3e;
    line-height: 1.6;
    min-height: 100vh;
}

/* Simple Container - Main Hero Section */
.simple-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

/* Logo Styling */
.simple-container img {
    max-width: 250px;
    height: auto;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease;
    filter: drop-shadow(0 8px 16px rgba(0, 156, 156, 0.15));
    transition: all 0.4s ease;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    padding: 10px;
}

.simple-container img:hover {
    transform: scale(1.08) rotate(1deg);
    filter: drop-shadow(0 12px 24px rgba(0, 156, 156, 0.25));
}

.simple-container h1 {
    color: #009c9c;
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    animation: fadeInDown 0.8s ease;
}

.tagline {
    font-size: 1.3rem;
    color: #333;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s;
    animation-fill-mode: both;
}

/* Quick Links */
.quick-links {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
}

.quick-link {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
}

.quick-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #009c9c;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-link:hover {
    color: #009c9c;
    transform: translateY(-2px);
}

.quick-link:hover::after {
    transform: scaleX(1);
}

/* Active state for quick links */
.quick-link.active {
    color: #009c9c;
    font-weight: 600;
}

.quick-link.active::after {
    transform: scaleX(1);
    background: #009c9c;
    height: 3px;
}

/* Button Styles */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s;
    animation-fill-mode: both;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: #009c9c;
    color: white;
}

.btn-primary:hover {
    background: #007c7c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 156, 156, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #009c9c;
    border: 2px solid #009c9c;
}

.btn-secondary:hover {
    background: #009c9c;
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
}

/* Services Section */
.services-section {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

.services-section h2 {
    color: #0f3d3e;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
    animation: fadeInDown 0.8s ease;
}

/* Main Services Grid */
.services-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.service-main-card {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    animation: slideInUp 0.8s ease;
    animation-fill-mode: both;
}

.service-main-card:nth-child(1) { animation-delay: 0.1s; }
.service-main-card:nth-child(2) { animation-delay: 0.2s; }
.service-main-card:nth-child(3) { animation-delay: 0.3s; }

.service-main-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #009c9c;
    box-shadow: 0 15px 40px rgba(0, 156, 156, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f0ffff 100%);
}

.service-main-card h3 {
    color: #0f3d3e;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

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

/* Pricing Section */
.pricing-section {
    margin-top: 4rem;
}

.pricing-section h3 {
    color: #0f3d3e;
    font-size: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease 0.4s;
    animation-fill-mode: both;
}

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

.service-card {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.5s; }
.service-card:nth-child(2) { animation-delay: 0.6s; }
.service-card:nth-child(3) { animation-delay: 0.7s; }

.service-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent, rgba(0, 156, 156, 0.03), transparent);
    transition: all 0.6s;
}

.service-card:hover::before {
    top: -50%;
    left: -50%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #009c9c;
    box-shadow: 0 20px 40px rgba(0, 156, 156, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

.service-card:hover .service-icon {
    animation: rotate 0.6s ease;
}

.service-card h3 {
    color: #0f3d3e;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-card .price {
    color: #009c9c;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 156, 156, 0.05), transparent);
    animation: shimmer 8s infinite;
}

.projects-section h2 {
    color: #0f3d3e;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.project-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e0e0e0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.project-card:nth-child(1) { animation-delay: 0.05s; }
.project-card:nth-child(2) { animation-delay: 0.1s; }
.project-card:nth-child(3) { animation-delay: 0.15s; }
.project-card:nth-child(4) { animation-delay: 0.2s; }
.project-card:nth-child(5) { animation-delay: 0.25s; }
.project-card:nth-child(6) { animation-delay: 0.3s; }
.project-card:nth-child(7) { animation-delay: 0.35s; }
.project-card:nth-child(8) { animation-delay: 0.4s; }
.project-card:nth-child(9) { animation-delay: 0.45s; }
.project-card:nth-child(10) { animation-delay: 0.5s; }
.project-card:nth-child(11) { animation-delay: 0.55s; }
.project-card:nth-child(12) { animation-delay: 0.6s; }

.project-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 156, 156, 0.1) 0%, transparent 70%);
    transition: all 0.5s;
    transform: translate(-50%, -50%);
}

.project-card:hover::after {
    width: 200%;
    height: 200%;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: #009c9c;
    box-shadow: 0 15px 30px rgba(0, 156, 156, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #f0ffff 100%);
}

.project-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.project-card:hover .project-icon {
    animation: rotateAndScale 0.5s ease;
}

.project-card h4 {
    color: #0f3d3e;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Additional Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes rotateAndScale {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #009c9c 0%, #007c7c 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.contact-section .btn-primary {
    background: white;
    color: #009c9c;
    font-size: 1.1rem;
    padding: 15px 35px;
}

.contact-section .btn-primary:hover {
    background: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-info {
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Calendly Modal Styles */
.calendly-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.calendly-modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.calendly-modal-content {
    background-color: white;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    height: 80vh;
    max-height: 700px;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.calendly-close {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #009c9c;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.calendly-close:hover {
    background: #007c7c;
    transform: rotate(90deg);
}

.calendly-inline-widget {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .simple-container img {
        max-width: 180px;
        margin-bottom: 2rem;
        padding: 8px;
    }

    .simple-container h1 {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Fix quick links on mobile */
    .quick-links {
        gap: 0.8rem;
        margin-top: 2.5rem;
    }

    .quick-link {
        padding: 10px 15px;
        background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
        border-radius: 8px;
        flex: 1;
        min-width: 85px;
        text-align: center;
        border: 1px solid #e0e0e0;
        font-size: 0.9rem;
    }

    .quick-link:hover {
        background: linear-gradient(135deg, #e8f8f8 0%, #d0f0f0 100%);
        border-color: #009c9c;
        transform: translateY(0);
    }

    .quick-link.active {
        background: linear-gradient(135deg, #009c9c 0%, #007c7c 100%);
        color: white;
        border-color: #009c9c;
        font-weight: 600;
    }

    .quick-link::after {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .services-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .calendly-modal-content {
        width: 95%;
        height: 90vh;
        margin: 20px;
    }

    .calendly-close {
        right: 5px;
        top: -35px;
        background: #0f3d3e;
    }
}

@media (max-width: 480px) {
    .simple-container {
        padding: 60px 20px;
    }

    .simple-container img {
        max-width: 150px;
        margin-bottom: 1.5rem;
        padding: 6px;
        border-radius: 8px;
    }

    .simple-container h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .btn {
        font-size: 1rem;
        padding: 12px 28px;
    }

    .services-section,
    .contact-section,
    .projects-section {
        padding: 60px 20px;
    }

    .service-card {
        padding: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-card {
        padding: 1.5rem 1rem;
    }

    /* Mobile quick links - full width buttons */
    .quick-links {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 280px;
        margin: 2rem auto 0;
    }

    .quick-link {
        width: 100%;
        padding: 12px 20px;
        background: white;
        border: 2px solid #e0e0e0;
        font-size: 0.95rem;
        font-weight: 600;
        color: #555;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .quick-link:active {
        background: #009c9c;
        color: white;
        border-color: #009c9c;
        transform: scale(0.98);
    }

    .quick-link.active {
        background: #009c9c;
        color: white;
        border-color: #007c7c;
        box-shadow: 0 4px 8px rgba(0, 156, 156, 0.2);
        font-weight: 600;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

/* Smooth transitions for sections */
#services,
#projects,
#contact {
    transition: all 0.3s ease;
}

/* Focus Styles for Accessibility */
.btn:focus {
    outline: 3px solid #009c9c;
    outline-offset: 2px;
}

/* Loading State for Buttons */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

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