canvas {
    background-color: transparent;
    margin-top: 7rem;
}
/* Hero Section */
.hero {
    min-height: 100vh;
    background: rgb(15, 23, 42);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b  50%, #334155 100%);
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.2);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.1);
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
    radial-gradient(circle at 0 0, rgba(158, 187, 255, 0.656) 2px, transparent 2px),
    radial-gradient(circle at 30px 0, rgba(158, 187, 255, 0.656) 2px, transparent 2px),
    radial-gradient(circle at 0 30px, rgba(158, 187, 255, 0.656) 2px, transparent 2px),
    radial-gradient(circle at 30px 30px, rgba(158, 187, 255, 0.656) 2px, transparent 2px);
    background-size: 30px 30px;
    background-position: 0 0;
    mask: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.2) 70%, rgba(255,255,255,0.0) 90%,rgba(255,255,255,0.0), transparent 100%);
    z-index: 0;
}

.cursor-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 400px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(114, 145, 215, 0.4) 0%, rgba(114, 145, 215, 0.2) 25%, rgba(114, 145, 215, 0.1) 50%, rgba(114, 145, 215, 0.05) 75%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.hero:hover .cursor-glow {
    opacity: 1;
}

@keyframes drift {
    0% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateX(20px) translateY(-15px) scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: translateX(-10px) translateY(10px) scale(0.98);
        opacity: 0.8;
    }
}

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FDF9F1;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .accent {
    color: var(--accent-blue);
    background: linear-gradient(45deg, var(--accent-blue), #9CA3AF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #E6DED3;
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, var(--accent-blue), #6366F1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(114, 145, 215, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(114, 145, 215, 0.4);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.floating-icon {
    font-size: 12rem;
    color: var(--accent-blue);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

/* Services Section */
.services {
    padding: 8rem 0 4rem;
    background: #FDF9F1;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 4rem;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--accent-blue), #6366F1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
}

.service-description {
    color: #6B7280;
    line-height: 1.6;
}


/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-container {
        gap: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
}
/* Tablet Responsive */
@media (max-width: 768px) { 
    

    .hero {
        padding: 6rem 0 2rem;
        min-height: 100vh;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        padding: 0 2rem;
        margin-top: 2rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .floating-icon {
        font-size: 6rem;
    }

    .services {
        padding: 4rem 0 2rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

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

    .service-card {
        padding: 2rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
    }

    /* Canvas adjustments for mobile */
    canvas {
        max-width: 100%;
        height: auto;
        margin-top: -1rem;
    }
}
/* Mobile Navigation */
@media (max-width: 480px) {

    .hero {
        padding: 7rem 0 2rem;
    }

    .hero-container {
        padding: 0 0.75rem;
        margin-top: 1rem;
        gap:0;
    }

    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .floating-icon {
        font-size:6rem;
    }

    .section-container {
        padding: 0 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    canvas {
        max-width: 100%;
        height: auto;
        margin-top: -1rem;
    }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .floating-icon {
        font-size: 6rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .submit-btn:hover {
        transform: none;
    }
    
    .social-links a:hover {
        transform: none;
    }
    
    /* Increase tap targets */
    .nav-links a {
        padding: 0.5rem;
        margin: 0.25rem;
    }
    
    .mobile-menu {
        padding: 0.5rem;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .dropdown-panel {
        display: none;
    }

    .mobile-nav-item {
        width: 100%;
        margin: 0.5rem 0;
    }

    .mobile-nav-link {
        font-size: 1.25rem !important;
        padding: 0.75rem 1rem !important;
        display: block;
        color: var(--cream-white) !important;
        text-align: left;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .mobile-dropdown {
        padding: 0.5rem 1rem;
        display: none;
    }

    .mobile-dropdown a {
        color: var(--cream-white);
        opacity: 0.8;
        display: block;
        padding: 0.5rem 1rem;
        margin: 0.25rem 0;
        font-size: 1rem;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .mobile-dropdown a:hover {
        opacity: 1;
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-item.active .mobile-dropdown {
        display: block;
    }
}
.story{
    padding: 1rem 0;
}

.story-hook{
    text-shadow: 0 0 7px rgba(255,255,255,.3), 0 0 3px rgba(255,255,255,.3);
    font-weight: 700;
    font-style: bold;
    color: var(--dark-blue);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.story-container{
    color: white;
    font-size: 2rem;
    text-transform: uppercase;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: -15px;
    padding: 2rem 1rem;
}

.story-animation {
    height: 50px;
    overflow: hidden;
    margin-left: 1rem;
    font-weight: 700;
    font-style: bold;
    position: relative;
    touch-action: manipulation;
}

.story-animation > div > div {
    padding: 0.25rem 0.75rem;
    height: 2.81rem;
    margin-bottom: 2.81rem;
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.story-animation > div > div:active {
    transform: scale(0.95);
}

.story-animation div:first-child {
    animation: text-animation 8s infinite;
}

.first div {
    background-color: #20a7d8;
    box-shadow: 0 4px 15px rgba(32, 167, 216, 0.2);
}

.second div {
    background-color: #CD921E;
    box-shadow: 0 4px 15px rgba(205, 146, 30, 0.2);
}

.third div {
    background-color: #c10528;
    box-shadow: 0 4px 15px rgba(193, 5, 40, 0.2);
}

@keyframes text-animation {
    0% {margin-top: -0.5rem;}
    10% {margin-top: -0.5rem;}
    20% {margin-top: -5.91rem;}
    30% {margin-top: -5.91rem;}
    40% {margin-top: -11.25rem;}
    60% {margin-top: -11.25rem;}
    70% {margin-top: -6rem;}
    80% {margin-top: -6rem;}
    90% {margin-top: -0.5rem;}
    100% {margin-top: -0.5rem;}
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .story-hook {
        font-size: 1.5rem;
        padding: 0 1rem;
        margin-top: 1rem;
    }

    .story-container{
        font-size: 1.5rem;
        min-height: 100px;
        padding-right: 0.1rem;
        margin-right: 0.1rem;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        gap: 5px;
    }

    .story-animation {
        margin-left: 0;
        margin-top: 0.9rem;
    }

    .story-animation > div > div {
        padding: 0.2rem 1rem; 
        height: 2.5rem;
        margin-bottom: 2.5rem; 
    }

    @keyframes text-animation {
        0% {margin-top: 0rem;}
        10% {margin-top: 0rem;}
        20% {margin-top: -4.5rem;}
        30% {margin-top: -4.5rem;}
        40% {margin-top: -9.5rem;}
        60% {margin-top: -9.5rem;}
        70% {margin-top: -4.5rem;}
        80% {margin-top: -4.5rem;}
        90% {margin-top: 0;}
        100% {margin-top: 0;}
    }
}

.story{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Testimonial section styles */
.testimonial {
    padding: 6rem 0;
    background: var(--dark-blue);
    position: relative;
    overflow: hidden;
    border: solid;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15), 0 1.5px 6px 0 rgba(114, 145, 215, 0.10);
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(114, 145, 215, 0.1) 0%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 1;
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-hook {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cream-white);
    margin-bottom: 3rem;
}

.testimonial-hook span {
    color: var(--accent-blue);
    background: linear-gradient(45deg, var(--accent-blue), #6366F1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cream-white);
    font-size: 1.1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 50px auto; /* Image column fixed, rest for text */
    align-items: center;
    gap: 1rem;
}

.testimonial-author-text {
    display: flex;
    flex-direction: column;
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--accent-blue);
}

.testimonial-author-role {
    font-size: 0.9rem;
    color: var(--cream-white);
    opacity: 0.7;
    margin-top: 0.25rem;
}
.testimonial-image {
    width: 40px;
        height: auto;
    border-radius: 50%;
}
.service-link{
    text-decoration: none;
}