/* DoubleClick DS - Light theme */
:root {
    --color-bg: #ffffff;
    --color-surface: #f8fafc;
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-text: #1e293b;
    --color-muted: #64748b;
    --color-border: #e2e8f0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 15%, #eff6ff 35%, #e0f2fe 55%, #dbeafe 75%, #bfdbfe 100%);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--narrow {
    max-width: 720px;
}

/* Header */
.header {
    background: linear-gradient(90deg, #ffffff 0%, #f8fafc 40%, #eff6ff 100%);
    color: #1e293b;
    padding: 1.25rem 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 84px;
    width: auto;
    display: block;
}

.header .logo-img {
    filter: none;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--color-primary);
}

/* Hero */
.hero {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0 5rem;
    text-align: center;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: hero-gradient 15s ease infinite;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50% 50% / 0 0 60px 60px;
}

@keyframes hero-gradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-lines-layer {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
}

.hero-lines-layer--1 {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(37, 99, 235, 0.55) 2px,
        rgba(37, 99, 235, 0.55) 3px
    );
    animation: hero-lines-move1 20s linear infinite;
}

.hero-lines-layer--2 {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 2px,
        rgba(59, 130, 246, 0.5) 2px,
        rgba(59, 130, 246, 0.5) 3px
    );
    animation: hero-lines-move2 25s linear infinite;
}

@keyframes hero-lines-move1 {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(40px, -40px); }
}

@keyframes hero-lines-move2 {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-30px, 30px); }
}

.hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-stars .star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.8);
    animation: star-twinkle 2.5s ease-in-out infinite;
}

.hero-stars .star:nth-child(1)  { left: 8%;  top: 12%; animation-delay: 0s; }
.hero-stars .star:nth-child(2)  { left: 18%; top: 8%;  animation-delay: 0.4s; }
.hero-stars .star:nth-child(3)  { left: 28%; top: 22%; animation-delay: 0.8s; }
.hero-stars .star:nth-child(4)  { left: 42%; top: 15%; animation-delay: 0.2s; }
.hero-stars .star:nth-child(5)  { left: 55%; top: 10%; animation-delay: 1s; }
.hero-stars .star:nth-child(6)  { left: 68%; top: 20%; animation-delay: 0.5s; }
.hero-stars .star:nth-child(7)  { left: 82%; top: 14%; animation-delay: 1.2s; }
.hero-stars .star:nth-child(8)  { left: 92%; top: 18%; animation-delay: 0.1s; }
.hero-stars .star:nth-child(9)  { left: 12%; top: 35%; animation-delay: 0.7s; }
.hero-stars .star:nth-child(10) { left: 25%; top: 42%; animation-delay: 0.3s; }
.hero-stars .star:nth-child(11) { left: 38%; top: 38%; animation-delay: 1.1s; }
.hero-stars .star:nth-child(12) { left: 52%; top: 45%; animation-delay: 0.6s; }
.hero-stars .star:nth-child(13) { left: 65%; top: 35%; animation-delay: 0.9s; }
.hero-stars .star:nth-child(14) { left: 78%; top: 40%; animation-delay: 0.2s; }
.hero-stars .star:nth-child(15) { left: 88%; top: 32%; animation-delay: 1.3s; }
.hero-stars .star:nth-child(16) { left: 5%;  top: 58%; animation-delay: 0.5s; }
.hero-stars .star:nth-child(17) { left: 22%; top: 62%; animation-delay: 1s; }
.hero-stars .star:nth-child(18) { left: 45%; top: 68%; animation-delay: 0.4s; }
.hero-stars .star:nth-child(19) { left: 62%; top: 72%; animation-delay: 0.8s; }
.hero-stars .star:nth-child(20) { left: 80%; top: 65%; animation-delay: 0.1s; }
.hero-stars .star:nth-child(21) { left: 95%; top: 55%; animation-delay: 1.2s; }
.hero-stars .star:nth-child(22) { left: 15%; top: 78%; animation-delay: 0.6s; }
.hero-stars .star:nth-child(23) { left: 50%; top: 82%; animation-delay: 0.3s; }
.hero-stars .star:nth-child(24) { left: 72%; top: 88%; animation-delay: 0.9s; }
.hero-stars .star:nth-child(25) { left: 90%; top: 75%; animation-delay: 0.7s; }

@keyframes star-twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50%      { opacity: 1;   transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 2rem;
    font-size: 1.15rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary {
    background: #fff;
    color: #1e40af;
    border-color: #fff;
}

.hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    border-color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Section titles */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--color-text);
}

.section-subtitle {
    color: var(--color-muted);
    margin: 0 0 2rem;
    font-size: 1.05rem;
}

/* About */
.section {
    padding: 4rem 0;
}

/* Section separation – different background per part */
.section {
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.section:first-of-type {
    border-top: none;
}

/* Curved section edges */
.section--alt {
    background: rgba(248, 250, 252, 0.98);
    border-radius: 50% 50% 0 0 / 60px 60px 0 0;
    padding-top: 5rem;
}

.section--alt + .section--services {
    border-radius: 0 0 50% 50% / 0 0 60px 60px;
    padding-bottom: 5rem;
    background: rgba(239, 246, 255, 0.5);
}

.section--services {
    background: rgba(239, 246, 255, 0.5);
}

.section--services + .section--values {
    border-radius: 50% 50% 0 0 / 60px 60px 0 0;
    padding-top: 5rem;
    background: rgba(248, 250, 252, 0.98);
}

.section--values {
    background: rgba(248, 250, 252, 0.98);
}

.section--values + .section--sites {
    border-radius: 0 0 50% 50% / 0 0 60px 60px;
    padding-bottom: 5rem;
    background: rgba(239, 246, 255, 0.5);
}

.section--sites {
    background: rgba(239, 246, 255, 0.5);
}

.section--sites + .section--contact {
    border-radius: 50% 50% 0 0 / 60px 60px 0 0;
    padding-top: 5rem;
    background: rgba(248, 250, 252, 0.98);
}

.section--contact {
    background: rgba(248, 250, 252, 0.98);
}

.section h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--color-text);
}

.section p {
    color: var(--color-muted);
    margin: 0 0 1rem;
}

.section p:last-child {
    margin-bottom: 0;
}

.about-wrap {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 768px) {
    .about-wrap {
        flex-direction: column;
        gap: 2rem;
    }
    .about-logo {
        order: -1;
    }
}

.about-content {
    flex: 1;
    min-width: 0;
}

.about-logo {
    flex-shrink: 0;
}

.about-logo img {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Services grid */
/* Services */
.section--services {
    background: transparent;
}

.section--services .section-title {
    text-align: center;
}

.section--services .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 0;
}

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #93c5fd);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-card:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    color: var(--color-muted);
}

/* Values / Why Us */
/* Why Choose Us */
.section--values {
    background: transparent;
}

.section--values .section-title {
    text-align: center;
}

.section--values .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    margin-top: 0;
}

.value-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #93c5fd);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.value-card:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.value-icon svg {
    width: 28px;
    height: 28px;
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    color: var(--color-muted);
}

/* Our Sites */
.section--sites {
    background: transparent;
}

.section--sites .section-title {
    text-align: center;
}

.section--sites .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 0;
}

.site-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.site-card--with-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-card-logo {
    flex-shrink: 0;
    display: block;
}

.site-card-logo--circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-surface);
}

.site-card-logo--circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-card-content {
    min-width: 0;
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #93c5fd);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.site-card:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.site-card:hover::before {
    opacity: 1;
}

.site-card-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.site-card-content a:hover {
    text-decoration: underline;
}

.site-card-content p {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.site-card a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.site-card a:hover {
    text-decoration: underline;
}

.site-card p {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.sites-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.sites-list li {
    margin-bottom: 0.5rem;
}

.sites-list a {
    color: var(--color-primary);
    text-decoration: none;
}

.sites-list a:hover {
    text-decoration: underline;
}

/* Contact */
/* Contact Us */
.section--contact {
    background: transparent;
}

.section--contact .section-title {
    text-align: center;
}

.section--contact .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
    margin-top: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 700px) {
    .contact-wrap {
        grid-template-columns: 1fr;
    }
}

.contact-info-card,
.contact-form-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-info-card:hover,
.contact-form-card:focus-within {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.contact-info-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: var(--color-text);
}

.contact-info-card p {
    margin-bottom: 1rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}

.contact-note {
    font-size: 0.9rem !important;
    color: var(--color-muted) !important;
}

.contact-info-card a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form label {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form input#contact-name,
.contact-form input#contact-email,
.contact-form textarea#contact-message {
    display: block;
}

.contact-form .btn {
    margin-top: 0.25rem;
    width: 100%;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--color-text);
    color: #cbd5e1;
    padding: 2.5rem 0;
    margin-top: auto;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 600px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .section {
        padding: 3rem 0;
    }
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}
