:root {
    --primary-color: #0c4a6e; /* Sky 900 */
    --secondary-color: #0369a1; /* Sky 700 - slightly lighter than primary for contrast */
    --accent-color: #7dd3fc; /* Sky 300 - brighter punch for accents */
    --text-color: #f0f9ff; /* Sky 50 */
    --text-muted: #bae6fd; /* Sky 200 */
    --success-color: #22c55e;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 12px;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    background-image: url('../imgs/bg_texture.png');
    background-repeat: repeat;
    background-size: 100px;
    background-blend-mode: overlay;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}



a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

/* Header */
header {
    background: rgba(12, 74, 110, 0.5);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(125, 211, 252, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-color);
}

/* Hero Section */
.hero {
    min-height: 65vh; /* Approx 2/3 screen height */
    margin-top: 100px; /* Gap from top */
    margin-bottom: 40px;
    border-radius: var(--border-radius); /* Soften edges since it's now a distinct block */
    display: flex;
    opacity: 0.8;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px; /* Reduced top padding as it's no longer behind header */
    background: radial-gradient(circle at center, #0369a1 0%, #0c4a6e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="rgba(125, 211, 252, 0.1)"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeIn Up 1s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #bae6fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(125, 211, 252, 0.4);
    color: var(--primary-color);
}

/* Section Common */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

h2 span {
    color: var(--accent-color);
}

/* Apps Showcase */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.app-card {
    background: var(--secondary-color);
    opacity: 0.8;
    border: 1px solid rgba(125, 211, 252, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(125, 211, 252, 0.3);
}

.app-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.582); /* Darker background to let images pop */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.app-image img {
   width: 110px;
    height: 110px; /* Fixed max height for consistency */
   
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); /* Add depth */
}


.app-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.app-content h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--text-color);
}

.app-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.app-link {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-link:after {
    content: '→';
    transition: transform 0.2s;
}

.app-link:hover:after {
    transform: translateX(5px);
}

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

.service-card {
    background: rgba(3, 105, 161, 0.5);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(125, 211, 252, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(3, 105, 161, 0.7);
    border-color: rgba(125, 211, 252, 0.3);
    color: var(--accent-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-card-wide {
    grid-column: 1 / -1; /* Span full width */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 2rem;
    background: linear-gradient(90deg, rgba(3, 105, 161, 0.6), rgba(12, 74, 110, 0.6));
    border: 1px solid var(--accent-color); /* Distinct border */
}

.service-card-wide .service-icon {
    font-size: 3.5rem;
    margin-bottom: 0;
}

.service-card-wide h3 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.service-card-wide p {
    font-size: 1.1rem;
    max-width: 600px;
}

@media (max-width: 768px) {
    .service-card-wide {
        flex-direction: column;
        text-align: center;
    }
}

/* Footer */
footer {
    background: var(--secondary-color);
    opacity: 0.8;
    padding: 4rem 20px 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.footer-col a {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Timezone Tool Visuals */
.timezone-visual {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}
.timezone-visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: var(--accent-color);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(45deg);
}
.timezone-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 15px;
    background: var(--accent-color);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(-90deg);
}

.client-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hiding for now, implies mobile menu needed if more complex */
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}
