/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Blue Pearls Color Scheme */
:root {
    --shadow-blue: #7491A4; /* primary */
    --pewter-blue: #98AFBD; /* secondary */
    --light-periwinkle: #BFD0DA; /* muted/borders */
    --lotion: #FDFDFD; /* background */
    --beau-blue: #B9D9ED; /* accent */

    --color-bg: var(--lotion);
    --color-text: #24333D;
    --color-primary: var(--shadow-blue);
    --color-primary-2: var(--pewter-blue);
    --color-accent: var(--beau-blue);
    --color-surface: #ffffff;
    --color-muted: var(--light-periwinkle);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 253, 253, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo svg {
    width: 28px;
    height: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--pewter-blue) 0%, var(--shadow-blue) 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(45deg, var(--beau-blue), var(--pewter-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: #5f7f92;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(116, 145, 164, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    position: relative;
    width: 300px;
    height: 300px;
    background: rgba(185, 217, 237, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.hero-graphic i {
    font-size: 4rem;
    margin: 0 1rem;
    animation: float 3s ease-in-out infinite;
}

.hero-graphic i:nth-child(1) { animation-delay: 0s; }
.hero-graphic i:nth-child(2) { animation-delay: 0.5s; }
.hero-graphic i:nth-child(3) { animation-delay: 1s; }
.hero-graphic i:nth-child(4) { animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-description {
    font-size: 1.1rem;
    color: #425564;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--lotion);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--light-periwinkle);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--beau-blue), var(--shadow-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-card p {
    color: #425564;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--color-surface);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--lotion);
    border-radius: 10px;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    justify-content: center;
    background: #f7f6f4;
    padding: 1rem 1.25rem;
    border-radius: 12px;
}

.feature {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.feature i {
    color: var(--color-primary);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.feature span {
    white-space: nowrap;
}

/* Full-width About features checkmark color override */
.about-features .feature i {
    color: #269988;
}

.about-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

.tech-item {
    background: linear-gradient(135deg, var(--pewter-blue), var(--shadow-blue));
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.tech-item:nth-child(1) { animation-delay: 0s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.4s; }
.tech-item:nth-child(4) { animation-delay: 0.6s; }
.tech-item:nth-child(5) { animation-delay: 0.8s; }
.tech-item:nth-child(6) { animation-delay: 1s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: var(--lotion);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--color-surface);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, var(--beau-blue), var(--shadow-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder {
    color: white;
    font-size: 3rem;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.portfolio-content p {
    color: #425564;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tech span {
    background: var(--light-periwinkle);
    color: #425564;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f7f6f4;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--beau-blue), var(--shadow-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.contact-details p {
    color: #425564;
    line-height: 1.6;
}

.contact-form {
    background: var(--lotion);
    padding: 1.5rem;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 2px solid var(--light-periwinkle);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-periwinkle);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: #b91c1c;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    min-height: 1em;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: #b91c1c;
}

.form-status {
    margin: 0.5rem 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-status.success {
    color: #0f766e;
}

.form-status.error {
    color: #b91c1c;
}

/* Footer */
.footer {
    background: #13202A;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
}

.footer-inline-logo svg {
    width: 36px;
    height: 36px;
    vertical-align: middle;
    margin: 0 6px;
}

.contact-email-link {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.contact-email-link:hover {
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--color-surface);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--color-primary);
}

.modal-content h2 {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-content p {
    color: #425564;
    line-height: 1.6;
    margin-bottom: 0;
}

.modal-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.modal-content a:hover {
    color: var(--color-primary-2);
}

/* Privacy Policy Modal Styles */
.privacy-modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    margin: 10vh auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.privacy-content {
    text-align: left;
}

.privacy-content h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
    font-weight: 600;
}

.privacy-content h3:first-of-type {
    margin-top: 0;
}

.privacy-content p {
    color: #425564;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}

.privacy-content ul {
    margin: 0.8rem 0 1rem 1.5rem;
    color: #425564;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.privacy-content strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Terms of Service Modal Styles */
.terms-modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    margin: 10vh auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.terms-content {
    text-align: left;
}

.terms-content h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
    font-weight: 600;
}

.terms-content h3:first-of-type {
    margin-top: 0;
}

.terms-content p {
    color: #425564;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}

.terms-content ul {
    margin: 0.8rem 0 1rem 1.5rem;
    color: #425564;
}

.terms-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.terms-content strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Site Map Modal Styles */
.sitemap-modal-content {
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    margin: 7.5vh auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.sitemap-content {
    text-align: left;
}

.sitemap-tree {
    margin-bottom: 2rem;
}

.sitemap-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    position: relative;
}

.sitemap-item.root {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--color-muted);
}

.sitemap-item i {
    margin-right: 0.8rem;
    width: 16px;
    text-align: center;
    color: var(--color-primary-2);
}

.sitemap-item.root i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.sitemap-children {
    margin-left: 2rem;
    border-left: 2px solid var(--color-muted);
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.sitemap-children .sitemap-item {
    position: relative;
}

.sitemap-children .sitemap-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    width: 1rem;
    height: 2px;
    background-color: var(--color-muted);
}

.sitemap-children .sitemap-children {
    margin-left: 1.5rem;
    border-left: 1px solid var(--color-muted);
}

.sitemap-children .sitemap-children .sitemap-item::before {
    left: -1.2rem;
    width: 0.8rem;
}

.sitemap-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-muted);
}

.sitemap-section h4 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sitemap-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-section li {
    margin-bottom: 0.5rem;
}

.sitemap-section a {
    color: #425564;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.sitemap-section a:hover {
    color: var(--color-primary);
}

.sitemap-section a::before {
    content: '→';
    margin-right: 0.5rem;
    color: var(--color-primary-2);
    transition: transform 0.3s ease;
}

.sitemap-section a:hover::before {
    transform: translateX(3px);
}

/* Careers Modal Styles */
.careers-modal-content {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    margin: 10vh auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.careers-content {
    text-align: left;
}

.careers-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.career-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-surface) 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid var(--color-muted);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.career-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-2);
}

.career-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-right: 1rem;
    min-width: 24px;
    flex-shrink: 0;
}

.career-item-content {
    flex: 1;
}

.career-item h3 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.career-item p {
    color: #425564;
    margin: 0;
    line-height: 1.5;
}

.careers-note {
    background: linear-gradient(135deg, var(--color-accent) 0%, #e3f2fd 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-primary);
}

.careers-note p {
    color: var(--color-text);
    margin: 0;
    font-style: italic;
    display: flex;
    align-items: center;
}

.careers-note i {
    color: var(--color-primary);
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.careers-contact {
    background: var(--color-surface);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-muted);
    text-align: center;
}

.careers-contact h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.careers-contact p {
    color: #425564;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.careers-contact a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.careers-contact a:hover {
    color: var(--color-primary-2);
}

.careers-contact i {
    margin-right: 0.5rem;
    color: var(--color-primary);
}

@media (max-width: 480px) {
    .footer-inline-logo svg {
        width: 22px;
        height: 22px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-surface);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.portfolio-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   CONSENT BANNER STYLES
   ======================================== */

/* Consent Banner */
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.consent-banner.show {
    transform: translateY(0);
}

.consent-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.consent-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.consent-banner-header h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.consent-close {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consent-close:hover {
    background: var(--color-muted);
    color: var(--color-primary);
}

.consent-banner-body {
    margin-bottom: 20px;
}

.consent-banner-body p {
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.5;
}

.consent-banner-body a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

.consent-banner-body a:hover {
    color: var(--color-primary-2);
}

/* Consent Options */
.consent-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.consent-option {
    display: flex;
    align-items: center;
}

.consent-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
}

.consent-toggle input[type="checkbox"] {
    display: none;
}

.consent-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background: var(--color-muted);
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.consent-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.consent-toggle input[type="checkbox"]:checked + .consent-slider {
    background: var(--color-primary);
}

.consent-toggle input[type="checkbox"]:checked + .consent-slider::before {
    transform: translateX(26px);
}

.consent-toggle input[type="checkbox"]:disabled + .consent-slider {
    background: var(--color-primary);
    opacity: 0.7;
}

.consent-option-info {
    flex: 1;
}

.consent-option-info strong {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 2px;
}

.consent-option-info span {
    display: block;
    color: var(--color-text);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Consent Banner Footer */
.consent-banner-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    min-width: 100px;
}

.consent-btn-primary {
    background: var(--color-primary);
    color: white;
}

.consent-btn-primary:hover {
    background: var(--color-primary-2);
    transform: translateY(-1px);
}

.consent-btn-secondary {
    background: var(--color-muted);
    color: var(--color-text);
}

.consent-btn-secondary:hover {
    background: #a8b8c5;
    transform: translateY(-1px);
}

.consent-btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.consent-btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-1px);
}

/* Consent Settings Modal */
.consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.consent-modal.show {
    display: flex;
}

.consent-modal-content {
    background: var(--color-surface);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.consent-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--color-muted);
}

.consent-modal-header h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.consent-modal-body {
    padding: 25px;
}

.consent-modal-body p {
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.5;
}

.consent-settings-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.consent-setting-group {
    padding: 15px;
    border: 1px solid var(--color-muted);
    border-radius: 8px;
    background: var(--lotion);
}

.consent-setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.consent-setting-header h4 {
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.1rem;
}

.consent-setting-group p {
    color: var(--color-text);
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.consent-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--color-muted);
    display: flex;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .consent-banner-content {
        padding: 15px;
    }
    
    .consent-banner-header h3 {
        font-size: 1.1rem;
    }
    
    .consent-banner-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .consent-btn {
        width: 100%;
        min-width: auto;
    }
    
    .consent-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .consent-modal-header,
    .consent-modal-body,
    .consent-modal-footer {
        padding: 15px;
    }
    
    .consent-options {
        gap: 10px;
    }
    
    .consent-toggle {
        gap: 10px;
    }
    
    .consent-slider {
        width: 45px;
        height: 22px;
    }
    
    .consent-slider::before {
        width: 18px;
        height: 18px;
    }
    
    .consent-toggle input[type="checkbox"]:checked + .consent-slider::before {
        transform: translateX(23px);
    }
}

@media (max-width: 480px) {
    .consent-banner-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .consent-close {
        align-self: flex-end;
    }
    
    .consent-option-info strong {
        font-size: 0.9rem;
    }
    
    .consent-option-info span {
        font-size: 0.8rem;
    }
}

/* ========================================
   NEWSLETTER SIGNUP STYLES
   ======================================== */

/* Newsletter Section */
.newsletter-section {
    background: transparent;
    padding: 3px 0;
    margin: 0 -20px;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.newsletter-section::before {
    display: none;
}

.newsletter-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 1;
    min-height: 40px;
}

.newsletter-text {
    flex: 1;
    color: white;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-text h3 i {
    color: var(--color-accent);
    font-size: 1.3rem;
}

.newsletter-text p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

.newsletter-form {
    width: 50%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-signup-form {
    width: 100%;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 6px 20px;
    font-size: 0.95rem;
    border-radius: 50px;
    background: transparent;
    color: var(--color-text);
}

.newsletter-input-group input::placeholder {
    color: var(--color-text);
    opacity: 0.6;
}

.newsletter-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 6px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    justify-content: center;
}

.newsletter-btn:hover {
    background: var(--color-primary-2);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.newsletter-btn.loading .btn-text {
    display: none;
}

.newsletter-btn.loading .btn-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-error-message {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.newsletter-error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-input-group.invalid {
    border: 2px solid #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.newsletter-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.newsletter-message.show {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-message.success {
    background: rgba(46, 160, 67, 0.1);
    color: #2ea043;
    border: 1px solid rgba(46, 160, 67, 0.2);
}

.newsletter-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.newsletter-privacy {
    margin-top: 0px;
    text-align: center;
}

.newsletter-privacy p {
    color: white;
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.newsletter-privacy i {
    color: var(--color-accent);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 2px 0;
        border-radius: 16px 16px 0 0;
    }
    
    .newsletter-content {
        flex-direction: column;
        gap: 3px;
        text-align: center;
        justify-content: center;
        min-height: auto;
        padding: 0 10px;
    }
    
    .newsletter-text h3 {
        font-size: 1.3rem;
        justify-content: center;
    }
    
    .newsletter-text p {
        font-size: 0.95rem;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
        border-radius: 12px;
    }
    
    .newsletter-input-group input {
        border-radius: 8px;
        padding: 6px 14px;
    }
    
    .newsletter-btn {
        border-radius: 8px;
        padding: 6px 18px;
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        margin: 0 -15px;
        padding: 1px 0;
        border-radius: 12px 12px 0 0;
    }
    
    .newsletter-content {
        padding: 0 8px;
        gap: 3px;
        min-height: auto;
    }
    
    .newsletter-text h3 {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 6px;
    }
    
    .newsletter-text p {
        font-size: 0.9rem;
    }
    
    .newsletter-input-group {
        padding: 6px;
    }
    
    .newsletter-input-group input {
        padding: 5px 12px;
        font-size: 0.9rem;
    }
    
    .newsletter-btn {
        padding: 5px 16px;
        font-size: 0.9rem;
    }
    
    .newsletter-privacy p {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 4px;
    }
}

/* ========================================
   NEWSLETTER SUCCESS MODAL STYLES
   ======================================== */

/* Newsletter Success Modal */
.newsletter-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    padding: 20px;
}

.newsletter-success-modal.show {
    display: flex;
}

.newsletter-success-modal-content {
    background: var(--color-surface);
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: newsletterModalSlideIn 0.3s ease-out;
}

@keyframes newsletterModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.newsletter-success-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--color-muted);
}

.newsletter-success-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.newsletter-success-logo svg {
    width: 100%;
    height: 100%;
}

.newsletter-success-close {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-success-close:hover {
    background: var(--color-muted);
    color: var(--color-primary);
}

.newsletter-success-modal-body {
    padding: 25px;
    text-align: center;
}

.newsletter-success-modal-body p {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.newsletter-success-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--color-muted);
    display: flex;
    justify-content: center;
}

.newsletter-success-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.newsletter-success-btn:hover {
    background: var(--color-primary-2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.newsletter-success-btn:active {
    transform: translateY(0);
}

/* Responsive Design for Modal */
@media (max-width: 480px) {
    .newsletter-success-modal {
        padding: 15px;
    }
    
    .newsletter-success-modal-content {
        max-width: 100%;
    }
    
    .newsletter-success-modal-header,
    .newsletter-success-modal-body,
    .newsletter-success-modal-footer {
        padding: 15px;
    }
    
    .newsletter-success-logo {
        width: 40px;
        height: 40px;
    }
    
    .newsletter-success-modal-body p {
        font-size: 0.95rem;
    }
    
    .newsletter-success-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* ========================================
   CONTACT SUCCESS MODAL STYLES
   ======================================== */

/* Contact Success Modal */
.contact-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    padding: 20px;
}

.contact-success-modal.show {
    display: flex;
}

.contact-success-modal-content {
    background: var(--color-surface);
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: contactModalSlideIn 0.3s ease-out;
}

@keyframes contactModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.contact-success-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--color-muted);
}

.contact-success-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.contact-success-logo svg {
    width: 100%;
    height: 100%;
}

.contact-success-close {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-success-close:hover {
    background: var(--color-muted);
    color: var(--color-primary);
}

.contact-success-modal-body {
    padding: 25px;
    text-align: center;
}

.contact-success-modal-body p {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.contact-success-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--color-muted);
    display: flex;
    justify-content: center;
}

.contact-success-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.contact-success-btn:hover {
    background: var(--color-primary-2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-success-btn:active {
    transform: translateY(0);
}

/* Responsive Design for Contact Modal */
@media (max-width: 480px) {
    .contact-success-modal {
        padding: 15px;
    }
    
    .contact-success-modal-content {
        max-width: 100%;
    }
    
    .contact-success-modal-header,
    .contact-success-modal-body,
    .contact-success-modal-footer {
        padding: 15px;
    }
    
    .contact-success-logo {
        width: 40px;
        height: 40px;
    }
    
    .contact-success-modal-body p {
        font-size: 0.95rem;
    }
    
    .contact-success-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}