/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #111;
    background-color: #fff;
    letter-spacing: 0.02em;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: #333;
}

a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
    position: relative;
}

a:hover {
    opacity: 0.7;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.6rem;
    margin-bottom: 0;
    color: #000;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 3px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    color: #222;
    font-weight: 300;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 220px 0;
    background-color: #000;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Random shapes animation - increased opacity */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 14%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 10%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.07) 0%, transparent 12%);
    opacity: 1;
    animation: pulse 15s infinite alternate;
    z-index: 1;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Pattern overlay - more visible */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, transparent 25%, 
        rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.05) 26%, 
        transparent 26%, transparent 50%,
        rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 51%, 
        transparent 51%, transparent 75%,
        rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05) 76%, 
        transparent 76%, transparent 100%);
    background-size: 200px 200px;
    animation: gradientShift 30s linear infinite;
    z-index: 2;
}

@keyframes gradientShift {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 1000px 1000px;
    }
}

/* Add floating SVG shapes - separate element */
.hero .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 50 L60 40 L50 30 L40 40 Z' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='150' height='150' viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='75' cy='75' r='20' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='80' y='80' width='40' height='40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1' /%3E%3C/svg%3E");
    background-position: 
        calc(20% + 20px * var(--x, 0)) calc(20% + 20px * var(--y, 0)),
        calc(80% - 30px * var(--x, 0)) calc(40% - 30px * var(--y, 0)),
        calc(30% - 20px * var(--x, 0)) calc(70% + 20px * var(--y, 0));
    background-size: 400px 400px, 300px 300px, 200px 200px;
    background-repeat: repeat;
    animation: floatingShapes 40s linear infinite;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

@keyframes floatingShapes {
    0% {
        background-position: 
            0% 0%,
            0% 0%,
            0% 0%;
    }
    100% {
        background-position: 
            400% 400%,
            200% 200%,
            300% 300%;
    }
}

/* Animated circle elements - increased visibility */
.animated-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    animation: circleAnimation 10s infinite ease-in-out;
    z-index: 3;
}

/* New highly visible pulsing animation */
.pulse-animation {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 3;
    animation: pulseEffect 4s infinite ease-in-out;
}

@keyframes pulseEffect {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.7;
    }
}

.animated-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.animated-circle:nth-child(2) {
    width: 500px;
    height: 500px;
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.animated-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    bottom: 30%;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 10s;
}

@keyframes circleAnimation {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

/* Additional stars animation */
.hero .container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(white, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(white, rgba(255, 255, 255, 0.1) 3px, transparent 3px);
    background-size: 100px 100px, 60px 60px, 200px 200px;
    background-position: 0 0, 25px 25px, 50px 50px;
    animation: twinkle 10s ease infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes twinkle {
    0% { opacity: 0.3; background-position: 0 0, 25px 25px, 50px 50px; }
    50% { opacity: 0.5; }
    100% { opacity: 0.3; background-position: 100px 100px, 85px 85px, 150px 150px; }
}

.hero .container {
    position: relative;
    z-index: 5;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    display: inline-block;
    animation: fadeIn 0.8s ease-out;
}

.hero-tagline::before,
.hero-tagline::after {
    content: '';
    position: absolute;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    top: 50%;
    width: 30px;
}

.hero-tagline::before {
    right: 100%;
    margin-right: 15px;
    animation: expandWidth 1.2s ease-out forwards;
    transform-origin: right;
}

.hero-tagline::after {
    left: 100%;
    margin-left: 15px;
    animation: expandWidth 1.2s ease-out forwards;
    transform-origin: left;
}

@keyframes expandWidth {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 30px;
        opacity: 1;
    }
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 800px;
    line-height: 1.2;
    text-align: center;
    position: static !important;
    left: auto !important;
    transform: none !important;
    display: block !important;
    animation: fadeUp 1s ease-out;
    animation-fill-mode: both;
    animation-delay: 0.3s;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    animation: fadeUp 1s ease-out;
    animation-fill-mode: both;
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styling */
section {
    padding: 120px 0;
    position: relative;
}

section h2 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    transition: color 0.3s ease;
}

section h2::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background-color: #000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease, background-color 0.3s ease;
}

section:hover h2::after {
    width: 60px;
}

/* Make sure hero heading doesn't get the section h2 decoration */
.hero-heading::after {
    display: none !important;
}

/* About Section */
.about {
    background-color: #fff;
}

.about p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.8;
}

.about::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 80px;
    height: 80px;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.about:hover::before, 
.about:hover::after {
    opacity: 0.3;
    transform: scale(1);
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: #000;
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.service-card:hover::before {
    height: 100%;
}

.service-card h3 {
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover h3 {
    transform: translateX(6px);
}

.service-card p {
    color: #555;
    line-height: 1.8;
    transition: transform 0.3s ease;
}

.service-card:hover p {
    transform: translateX(6px);
}

/* Support Section */
.support {
    background-color: #fff;
}

.support p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 50px;
}

/* Support Button */
.support-button-container {
    text-align: center;
}

.support-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 0;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.support-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
    z-index: -1;
}

.support-button:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-3px);
    opacity: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.support-button:hover::before {
    transform: translateX(100%);
}

.support-button:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(20px);
}

footer p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

footer a {
    color: #fff;
    text-decoration: none;
    position: relative;
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 140px 0;
        min-height: 80vh;
    }
    
    .hero-heading {
        font-size: 2.4rem;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
    }
    
    .hero-tagline::before,
    .hero-tagline::after {
        width: 20px;
    }
    
    section {
        padding: 80px 0;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .about::before,
    .about::after {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 120px 0;
        min-height: auto;
    }
    
    .hero-heading {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-tagline::before,
    .hero-tagline::after {
        display: none;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .about::before,
    .about::after {
        display: none;
    }
} 