/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Remove button outlines and borders on all devices */
button,
input[type="button"],
input[type="submit"],
.btn,
a.btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

button:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
.btn:focus,
a.btn:focus {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0f172a;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
}

p {
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

.highlight {
    color: #2563eb;
    font-weight: 900;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.5);
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border: none;
}

.btn-primary:focus,
.btn-primary:active {
    outline: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-secondary {
    background: rgba(30, 58, 138, 0.1);
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-secondary:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    border: 2px solid #1e3a8a;
}

.btn-secondary:focus,
.btn-secondary:active {
    outline: none;
    border: 2px solid #1e3a8a;
    -webkit-tap-highlight-color: transparent;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1e3a8a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 8rem 0;
    color: #1e293b;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, 
            rgba(255, 255, 255, 0.85) 0%,
            rgba(248, 250, 252, 0.7) 35%,
            rgba(241, 245, 249, 0.5) 60%,
            rgba(0, 0, 0, 0.1) 100%
        );
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #1e293b;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.6);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

.hero-stat .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(30, 58, 138, 0.3);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 
        0 20px 50px rgba(30, 58, 138, 0.15), 
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(255, 255, 255, 0.8) inset;
}

.hero-graphic i {
    font-size: 4rem;
    color: #1e40af;
    text-shadow: 
        0 3px 8px rgba(255, 255, 255, 0.95),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.15);
    border-color: rgba(30, 58, 138, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: white;
}

.service-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.4rem;
}

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

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.service-features li:first-child {
    padding-top: 0;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: #ffffff;
}

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

.portfolio-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.15);
    border-color: rgba(30, 58, 138, 0.2);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.about-mission {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-left: 4px solid #1e3a8a;
}

.about-values h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.about-values ul {
    list-style: none;
}

.about-values li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #555;
}

.about-values i {
    color: #1e3a8a;
    font-size: 1rem;
}

.certifications {
    margin-top: 2rem;
}

.certifications h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.cert-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.05);
    transition: all 0.3s ease;
}

.cert-item:hover {
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
    border-color: rgba(30, 58, 138, 0.2);
    transform: translateY(-2px);
}

.cert-item i {
    font-size: 1.5rem;
    color: #1e3a8a;
}

.cert-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 16px;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

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

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

/* FAQ items are spaced with individual margin-bottom on .faq-item */

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
    margin-bottom: 1rem;
    border: 1px solid rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.12);
    border-color: rgba(30, 58, 138, 0.2);
}

.faq-question h4 {
    color: #1e293b;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    color: #1e3a8a;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    display: none;
    border-top: 1px solid #f0f0f0;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.faq-answer p {
    margin-bottom: 1rem;
    color: #64748b;
    line-height: 1.6;
}

.faq-answer ul, .faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: #64748b;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    margin: 0;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
}

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

/* Footer */
.footer {
    background: #1a1a1a;
    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-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section h3 {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-section ul li a:hover {
    color: #1e3a8a;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Legal Pages Styles (Privacy Policy & Cookie Policy) */
.privacy-policy,
.legal-page {
    padding: 120px 0 80px;
    background: #ffffff;
}

.policy-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.policy-header h1 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.policy-date {
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.policy-intro {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 3rem;
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 4px solid #1e3a8a;
}

.policy-section h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.policy-section h3 {
    color: #1e293b;
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

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

.policy-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #64748b;
}

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

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

.policy-section a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

.policy-section a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.security-note {
    background: #fef3cd;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 1rem;
    color: #92400e;
    font-style: italic;
    margin-top: 1rem;
}

.contact-info {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.contact-method {
    margin-bottom: 1rem;
    color: #64748b;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-method strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.25rem;
}

.policy-footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: #f1f5f9;
    border-radius: 16px;
}

.policy-footer p {
    color: #64748b;
    margin-bottom: 1rem;
}

/* Cookie Policy Specific Styles */
.legal-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-header h1 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.last-updated {
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.legal-intro {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 4px solid #1e3a8a;
}

.legal-section h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.legal-section h3 {
    color: #1e293b;
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.legal-section h4 {
    color: #334155;
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-list {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #64748b;
}

.legal-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Cookie Category Styles */
.cookie-category {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cookie-category h3 {
    color: #1e3a8a;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Third Party Service Styles */
.third-party-service {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1rem 0;
}

.third-party-service h4 {
    color: #1e3a8a;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

/* Browser Links */
.browser-links {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.browser-links h4 {
    margin-top: 0;
    color: #1e293b;
}

/* Cookie Notice */
.cookie-notice {
    background: #fef3cd;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 1rem;
    color: #92400e;
    margin: 1rem 0;
}

/* Terms of Service Specific Styles */
.terms-notice {
    background: #dbeafe;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 1rem;
    color: #1e40af;
    margin: 1rem 0;
}

.service-category {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-category h3 {
    color: #1e3a8a;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.disclaimer-notice {
    background: #fef2f2;
    border: 2px solid #f87171;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.disclaimer-notice p {
    color: #991b1b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.disclaimer-notice ul {
    color: #dc2626;
    margin-left: 1rem;
}

.disclaimer-notice li {
    margin-bottom: 0.5rem;
}

/* Legal List Styling */
.legal-list {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #64748b;
}

.legal-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.legal-list ol li {
    list-style-type: decimal;
}

.legal-list ul li {
    list-style-type: disc;
}

/* Retention Table */
.retention-table {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin: 1rem 0;
}

.retention-row {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
}

.retention-row:last-child {
    border-bottom: none;
}

.retention-row:nth-child(even) {
    background: #f8fafc;
}

.retention-type {
    flex: 1;
    font-weight: 600;
    color: #1e293b;
}

.retention-period {
    flex: 1;
    color: #64748b;
}

/* Contact Info Legal */
.contact-info-legal {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-method {
    color: #64748b;
}

.contact-method h4 {
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Legal Footer Note */
.legal-footer-note {
    background: #e0f2fe;
    border: 1px solid #0891b2;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    color: #0c4a6e;
}

/* Legal Navigation */
.legal-navigation {
    margin-top: 4rem;
    padding: 2rem;
    background: #f1f5f9;
    border-radius: 16px;
    text-align: center;
}

.legal-nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.legal-nav-link:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.legal-nav-link i {
    font-size: 0.9rem;
}

.back-home {
    margin-top: 2rem;
}

/* Legal Pages Mobile Styles */
@media (max-width: 768px) {
    .privacy-policy,
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .policy-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .policy-header h1 {
        font-size: 2.5rem;
    }
    
    .policy-intro {
        font-size: 1rem;
    }
    
    .policy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    /* Cookie Policy Mobile Styles */
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-intro {
        font-size: 1rem;
    }
    
    .legal-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-section h4 {
        font-size: 1rem;
    }
    
    .cookie-category {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .third-party-service {
        padding: 1rem;
    }
    
    .contact-info-legal {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .legal-nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .legal-nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .retention-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .retention-type {
        font-weight: 600;
        color: #1e293b;
    }
    
    .retention-period {
        color: #64748b;
        font-style: italic;
    }
    
    /* Terms of Service Mobile Styles */
    .service-category {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .disclaimer-notice {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .terms-notice {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .legal-list {
        margin-left: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        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-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Logo responsive styles */
    .logo-img {
        height: 36px;
        max-width: 160px;
    }

    .footer-logo {
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-logo-img {
        height: 28px;
        max-width: 100px;
    }

    .hero {
        background-attachment: scroll; /* Better performance on mobile */
        padding: 6rem 0 4rem;
    }

    .hero::before {
        backdrop-filter: blur(5px);
    }

    .hero::after {
        background: 
            radial-gradient(ellipse at 30% 30%, 
                rgba(255, 255, 255, 0.9) 0%,
                rgba(248, 250, 252, 0.75) 35%,
                rgba(241, 245, 249, 0.6) 60%,
                rgba(0, 0, 0, 0.15) 100%
            );
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
        width: 100%;
        max-width: 100vw;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .hero-stats {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        width: 100%;
        overflow: hidden;
    }

    .hero-stat .stat-number {
        font-size: 1.8rem;
    }

    .hero-stat .stat-label {
        font-size: 0.8rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 0.95rem;
        border: none !important;
        outline: none !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .hero-buttons .btn-secondary {
        background: rgba(30, 58, 138, 0.15);
        border: 1px solid #1e3a8a !important;
    }

    .hero-graphic {
        padding: 2rem;
        margin-top: 1rem;
    }

    .hero-graphic i {
        font-size: 3rem;
    }

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

    .service-card {
        padding: 2rem;
        margin: 0 10px;
    }

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

    .portfolio-item {
        margin: 0 10px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .about-text {
        width: 100%;
        max-width: 100%;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .stat-item {
        width: 100%;
        margin: 0;
        padding: 1.5rem;
    }

    .cert-logos {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .cert-item {
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .services, .portfolio, .about, .faq, .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0 3rem;
    }

    .hero::after {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 252, 0.98) 50%,
            rgba(255, 255, 255, 0.95) 100%
        );
    }

    .hero-container {
        padding: 0 10px;
        gap: 1.5rem;
        width: 100%;
        max-width: 100vw;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 5px;
    }

    .hero-stats {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        width: 100%;
        overflow: hidden;
    }

    .hero-stat .stat-number {
        font-size: 1.6rem;
    }

    .hero-stat .stat-label {
        font-size: 0.75rem;
    }

    .hero-buttons .btn {
        max-width: 250px;
        padding: 10px 20px;
        font-size: 0.9rem;
        border: none !important;
        outline: none !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .hero-buttons .btn-secondary {
        background: rgba(30, 58, 138, 0.15);
        border: 1px solid #1e3a8a !important;
    }

    .hero-graphic {
        padding: 1.5rem;
        margin-top: 0.5rem;
    }

    .hero-graphic i {
        font-size: 2.5rem;
    }

    .services, .portfolio, .about, .faq, .contact {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .service-card {
        padding: 1.5rem;
        margin: 0 5px;
    }

    .portfolio-item {
        margin: 0 5px;
    }

    .portfolio-content {
        padding: 1.5rem;
    }

    .services-grid, .portfolio-grid {
        gap: 1rem;
    }

    .about {
        padding: 60px 0;
    }

    .about-content {
        gap: 1.5rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-mission {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .about-values ul {
        padding-left: 0;
    }

    .about-values li {
        padding: 0.25rem 0;
        font-size: 0.9rem;
    }

    .cert-item {
        padding: 0.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .cert-item span {
        font-size: 0.8rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}