/* Custom Properties & Design Tokens */
:root {
    --color-bg-dark: #07090e;
    --color-bg-card: rgba(16, 20, 30, 0.65);
    --color-bg-card-hover: rgba(22, 28, 42, 0.8);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    
    /* Brand Logo Colors */
    --brand-blue: #1c75bc;
    --brand-green: #8cc63f;
    --brand-orange: #f7931e;
    --brand-red: #ef4136;
    
    --brand-blue-glow: rgba(28, 117, 188, 0.25);
    --brand-green-glow: rgba(140, 198, 63, 0.25);
    --brand-orange-glow: rgba(247, 147, 30, 0.25);
    --brand-red-glow: rgba(239, 65, 54, 0.25);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Core Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Canvas Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: auto;
}

/* Main Container */
.app-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    gap: 4rem;
}

/* Header & Logo styling */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-container {
    width: 100%;
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
    animation: zoomIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-image:hover {
    transform: scale(1.08) rotate(3deg);
}

/* Entrance Animations & Scroll Reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



/* Hero Section */
.hero-section {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.badge {
    background: rgba(28, 117, 188, 0.1);
    border: 1px solid rgba(28, 117, 188, 0.25);
    color: #38bdf8;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(28, 117, 188, 0.1);
        border-color: rgba(28, 117, 188, 0.25);
    }
    100% {
        box-shadow: 0 0 15px rgba(28, 117, 188, 0.3);
        border-color: rgba(28, 117, 188, 0.6);
    }
}

.hero-section h1 {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
    opacity: 0;
    animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

/* Countdown Styling */
.countdown-wrapper {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.countdown-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    min-width: 90px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    opacity: 0.7;
}

.countdown-item[data-value="days"]::before { background: var(--brand-blue); }
.countdown-item[data-value="hours"]::before { background: var(--brand-green); }
.countdown-item[data-value="minutes"]::before { background: var(--brand-orange); }
.countdown-item[data-value="seconds"]::before { background: var(--brand-red); }

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-hover);
}

.countdown-item[data-value="days"]:hover { box-shadow: 0 10px 30px var(--brand-blue-glow); }
.countdown-item[data-value="hours"]:hover { box-shadow: 0 10px 30px var(--brand-green-glow); }
.countdown-item[data-value="minutes"]:hover { box-shadow: 0 10px 30px var(--brand-orange-glow); }
.countdown-item[data-value="seconds"]:hover { box-shadow: 0 10px 30px var(--brand-red-glow); }

.countdown-number {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
    font-weight: 600;
}

/* Subscription Form */
.subscribe-form {
    width: 100%;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.input-group {
    display: flex;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 0.5rem;
    border-radius: 9999px;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.input-group:focus-within {
    border-color: var(--brand-blue);
    box-shadow: 0 0 20px var(--brand-blue-glow);
}

.input-icon {
    color: var(--text-muted);
    margin-left: 1.25rem;
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
}

.subscribe-form input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    flex-grow: 1;
    padding: 0.75rem 0.5rem;
}

.subscribe-form input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1765a3 100%);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(28, 117, 188, 0.4);
}

.submit-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

.form-feedback {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 20px;
    transition: var(--transition-smooth);
}

.form-feedback.success { color: var(--brand-green); }
.form-feedback.error { color: var(--brand-red); }

/* Services Grid Teaser */
.services-teaser {
    margin: 1rem 0;
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
    border-radius: 999px;
}

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

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 2.25rem 1.75rem;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    top: -50px;
    right: -50px;
    filter: blur(35px);
    opacity: 0.15;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-hover);
}

.service-card:hover::after {
    opacity: 0.35;
}

.service-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.service-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Individual Card Themes based on Logo */
.blue-theme .service-icon-wrapper { background: rgba(28, 117, 188, 0.1); color: var(--brand-blue); }
.blue-theme::after { background: var(--brand-blue); }
.blue-theme:hover { box-shadow: 0 12px 30px var(--brand-blue-glow); }

.green-theme .service-icon-wrapper { background: rgba(140, 198, 63, 0.1); color: var(--brand-green); }
.green-theme::after { background: var(--brand-green); }
.green-theme:hover { box-shadow: 0 12px 30px var(--brand-green-glow); }

.orange-theme .service-icon-wrapper { background: rgba(247, 147, 30, 0.1); color: var(--brand-orange); }
.orange-theme::after { background: var(--brand-orange); }
.orange-theme:hover { box-shadow: 0 12px 30px var(--brand-orange-glow); }

.red-theme .service-icon-wrapper { background: rgba(239, 65, 54, 0.1); color: var(--brand-red); }
.red-theme::after { background: var(--brand-red); }
.red-theme:hover { box-shadow: 0 12px 30px var(--brand-red-glow); }

/* Company Info Card Section */
.company-section {
    width: 100%;
}

.company-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(28, 117, 188, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.company-details-layout {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 3.5rem;
    position: relative;
    z-index: 1;
}

.details-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.block-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-icon svg {
    width: 18px;
    height: 18px;
}

.details-block h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    font-weight: 700;
}

.company-legal-name {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #f1f5f9;
}

.company-address {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    padding-left: 0;
}

/* Contact Block Specifics */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.phone-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

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

.contact-icon {
    color: var(--brand-green);
    margin-top: 0.2rem;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

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

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    word-break: break-all;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

/* Quick Links under Address */
.address-sub-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.address-sub-links h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    font-weight: 700;
}

.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1rem;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.quick-link-item svg {
    width: 16px;
    height: 16px;
    color: var(--brand-blue);
}

.quick-link-item:hover {
    color: var(--text-primary);
    transform: translateX(3px);
}

.quick-link-item:hover svg {
    color: var(--brand-green);
}

/* Social Links styling */
.social-links-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.social-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--text-primary);
}

.social-icon:hover svg {
    transform: scale(1.15);
}

/* Hover effects specific to network brands */
.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.4);
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-icon.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

/* Footer Section */
.footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 1rem;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* About & Mission/Vision Section Styles */
.about-section {
    margin: 1rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 2rem;
}

.about-main-card, .about-goals-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    transition: var(--transition-smooth);
}

.about-main-card:hover, .about-goals-card:hover {
    border-color: var(--color-border-hover);
}

.about-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.about-block p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-block.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

.goals-intro {
    font-style: italic;
    color: var(--text-secondary);
}

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

.goal-subcard {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.goal-subcard h4 {
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.goal-subcard p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sub-card themes */
.green-theme-border {
    border-left: 3px solid var(--brand-green);
}
.green-theme-border h4 {
    color: var(--brand-green);
}
.green-theme-border:hover {
    border-color: var(--brand-green);
    box-shadow: 0 8px 25px var(--brand-green-glow);
}

.blue-theme-border {
    border-left: 3px solid var(--brand-blue);
}
.blue-theme-border h4 {
    color: var(--brand-blue);
}
.blue-theme-border:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 8px 25px var(--brand-blue-glow);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .company-details-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .company-card {
        padding: 2.25rem;
    }
    
    .phone-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .app-container {
        padding: 1.5rem 1rem;
        gap: 3rem;
    }
    
    .goals-subgrid {
        grid-template-columns: 1fr;
    }
    
    .countdown-wrapper {
        gap: 0.5rem;
    }
    
    .countdown-item {
        padding: 1rem;
        min-width: 75px;
    }
    
    .countdown-number {
        font-size: 1.75rem;
    }
    
    .input-group {
        border-radius: 20px;
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .input-icon {
        display: none;
    }
    
    .subscribe-form input {
        text-align: center;
        width: 100%;
        padding: 0.5rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem;
    }
}
