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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #02303f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #02303f;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #02303f;
    color: white;
}

.btn-primary:hover {
    background-color: #02303f;
    color: white;
    transform: translateY(-2px);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #02303f;
    margin-bottom: 0;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.025em;
}

.nav-brand .logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand .logo img:hover {
    transform: scale(1.05);
}

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

.nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #02303f;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

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

.hero-title {
    font-size: 3.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
}

/* Services Section */
.services {
    background-color: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #02303f;
    margin-bottom: 1rem;
}

.services-note {
    text-align: center;
    font-style: italic;
    color: #64748b;
    font-size: 1.1rem;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #02303f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.process-note {
    text-align: center;
    font-style: italic;
    color: #64748b;
    font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio {
    background-color: #f8fafc;
}

.portfolio-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #64748b;
}

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

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 600px;
    height: 400px;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-item picture {
    display: block;
    width: 100%;
}

.portfolio-item picture img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-item h3 {
    padding: 1.5rem;
    color: #1e293b;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.portfolio-item a {
    color: inherit;
    text-decoration: none;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #02303f 0%, #1a4a5c 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 50px 0;
    align-items: start;
}

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

.contact-item h3 {
    color: #4ade80;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4ade80;
}

/* Contact Form Styles */
.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #4ade80;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ade80;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 222, 128, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-status {
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

/* Honeypot field - completely hidden */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* reCAPTCHA Styling */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.recaptcha-container .g-recaptcha {
    transform-origin: 0 0;
}

/* Responsive reCAPTCHA */
@media (max-width: 480px) {
    .recaptcha-container .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #64748b;
}

.contact-cta {
    text-align: center;
    font-style: italic;
    color: #64748b;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #02303f;
    font-size: 2.5rem;
    font-weight: 700;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    color: #02303f;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Utility Footer */
.utility-footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 2rem;
}

.utility-footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.utility-footer h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.utility-footer ul {
    list-style: none;
}

.utility-footer ul li {
    margin-bottom: 0.5rem;
}

.utility-footer ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.utility-footer ul li a:hover {
    color: #02303f;
}

.footer-policies ul {
    columns: 2;
    column-gap: 1.5rem;
    break-inside: avoid;
}

.footer-policies ul li {
    break-inside: avoid;
    margin-bottom: 0.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand h3 {
    color: #ffffff;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    color: #9ca3af;
    margin-top: 0.5rem;
    font-size: 1rem;
}

/* Main Footer */
.main-footer {
    background: #111827;
    color: #9ca3af;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid #374151;
}

.main-footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .site-title {
        font-size: 1.25rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-item {
        padding: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        backdrop-filter: blur(5px);
    }
    
    .utility-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-brand {
        align-items: center;
        order: -1;
    }

    .footer-policies ul {
        columns: 1;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .faq-item {
        padding: 1.5rem;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        gap: 30px;
        margin: 30px 0;
    }
    
    .contact-form-container {
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .portfolio-item,
    .btn {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid #02303f;
    outline-offset: 2px;
}

/* Policy Pages Styles */
.policy-page {
    padding: 120px 0 80px;
    background-color: #f8fafc;
    min-height: 100vh;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid #02303f;
    padding-bottom: 1rem;
}

.policy-intro {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    font-style: italic;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    color: #02303f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #02303f;
    padding-left: 1rem;
}

.policy-section h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.policy-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-section strong {
    color: #1e293b;
    font-weight: 600;
}

/* SLA Table Styles */
.sla-table {
    margin: 20px 0;
    overflow-x: auto;
}

.sla-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sla-table th {
    background: #02303f;
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.sla-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 0.9rem;
}

.sla-table tr:last-child td {
    border-bottom: none;
}

.sla-table tr:nth-child(even) {
    background: #f8fafc;
}

.sla-table tr:hover {
    background: #edf2f7;
}

.policy-back {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.nav-brand .logo a {
    color: #02303f;
    text-decoration: none;
}

.nav-brand .logo a:hover {
    color: #02303f;
}

/* Print styles */
@media print {
    .header,
    .nav-toggle,
    .footer,
    .policy-back {
        display: none;
    }
    
    .policy-page {
        padding-top: 40px;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
    
    .policy-content {
        box-shadow: none;
        padding: 1rem;
    }
}

/* Interactive Elements */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #02303f;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(2, 48, 63, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #02303f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 48, 63, 0.4);
}



/* Form Validation Styles */
.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Enhanced Animations */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Counter Animation */
.counter {
    font-size: 2rem;
    font-weight: 700;
    color: #02303f;
}

/* Portfolio Filter Buttons */
.portfolio-filter {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: #e5e7eb;
    color: #333;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.portfolio-filter:hover,
.portfolio-filter.active {
    background: #02303f;
    color: white;
    transform: translateY(-2px);
}

/* Enhanced Form Styles */
form {
    position: relative;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #02303f;
    box-shadow: 0 0 0 0.2rem rgba(2, 48, 63, 0.25);
}

/* Enhanced Hover Effects */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Mobile responsiveness for policy pages */
@media (max-width: 768px) {
    .policy-content {
        padding: 2rem 1.5rem;
        margin: 0 15px;
    }
    
    .policy-content h1 {
        font-size: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}