/* Modern Design System - PuppyLytics */

/* ===== CSS Variables ===== */
:root {
    --primary-blue: #044766;
    --primary-blue-light: #056b99;
    --primary-blue-dark: #033552;
    --coral: coral;
    --coral-light: lightcoral;
    --mintcream: #F5FFFA;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* ===== Base Styles ===== */
figure {
    margin: 0;
}

body {
    max-width: 1550px;
    margin: 0 auto;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lato", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.4;
}

#about h3,
#contact h3 {
    color: var(--coral);
}

html {
    scroll-behavior: smooth;
}

/* ===== Utility Classes ===== */
.text-color {
    color: var(--primary-blue) !important;
}

.bg-color {
    background-color: var(--primary-blue) !important;
}

.border-color {
    border-color: var(--primary-blue) !important;
}

.w3-mintcream {
    background-color: var(--mintcream);
}

/* ===== Navigation ===== */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-bar {
    padding: 0 40px;
}

.nav-bar .w3-bar-item.w3-right {
    padding-left: 0px;
}

.nav-bar .w3-bar-item a {
    font-size: 16px;
    padding: 12px;
    transition: var(--transition);
}

.nav-logo {
    padding: 40px 16px !important;
}

.nav-logo img {
    height: 35px;
}

.nav-bar .w3-button:hover {
    background-color: white !important;
    color: var(--primary-blue) !important;
    font-weight: bold;
    transform: translateY(-2px);
}

.nav-bar .w3-button.contact-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light)) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-bar .w3-button.contact-button:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue)) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.scrollable-section {
    scroll-margin-top: 115px;
}

/* ===== Hero Slider ===== */
#hero-slider {
    position: relative;
    height: 75vh;
}

.hero-slider .slide {
    position: relative;
    height: 75vh;
    max-height: 1000px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease-out;
}

.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-slider .slick-active {
    animation: zoomIn 3s ease-in-out forwards;
}

.hero-slider .content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    max-width: 768px;
    z-index: 2;
}

.content h2,
.content p,
.content .cta {
    opacity: 0;
}

.content.animate h2 {
    animation: slideInFromBottom 1s ease-out forwards;
    animation-delay: 0.5s;
}

.content.animate p {
    animation: slideInFromBottom 1s ease-out forwards;
    animation-delay: 1s;
}

.content.animate .cta {
    animation: slideInFromLeft 1s ease-out forwards;
    animation-delay: 0s;
}

.hero-slider .content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--coral);
    font-weight: 800;
    line-height: 1.2;
}

.hero-slider .content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    line-height: 1.6;
}

.hero-slider .content .cta {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: inline-block;
}

.hero-slider .content .cta:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.slick-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.slick-dots li {
    list-style: none;
}

.slick-dots li button {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button:before {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.slick-dots li.slick-active button:before {
    background: #fff;
}

/* ===== Services Section ===== */
.our-services {
    padding: 80px 0;
}

.services-list {
    text-align: center;
}

.services-list .w3-card {
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
}

.services-list .w3-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.services-list h3 {
    color: var(--coral);
    margin-top: 1.5rem;
    font-size: 1.5rem;
}

.services-list p {
    text-align: justify;
    color: #666;
    line-height: 1.7;
}

.services-list img {
    transition: var(--transition);
}

.services-list .w3-card:hover img {
    transform: scale(1.05);
}

/* ===== Service Detail Pages ===== */
.service-wrapper {
    padding: 3px 0px;
    position: relative;
    overflow: hidden;
}

.service-wrapper img {
    filter: contrast(0.8);
    transition: var(--transition);
}

.service-wrapper:hover img {
    transform: scale(1.02);
}

.service-text-overlay {
    color: white;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75));
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.service-text-overlay h2 {
    color: var(--coral-light);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-text-overlay h4 {
    color: var(--coral-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-text-overlay p {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ===== Industries Section ===== */
.industry-card-container {
    padding: 8px 16px !important;
}

.industry-card-container .w3-card {
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.industry-card-container .w3-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.industry-card-container img {
    transition: var(--transition);
}

.industry-card-container .w3-card:hover img {
    transform: scale(1.05);
}

.industry-container,
.services-container {
    padding: 40px 56px;
    margin: 20px 0;
}

.industry-container .rightcard,
.services-container .rightcard {
    padding: 20px 40px;
}

.industry-container .rightcard h3,
.services-container .rightcard h3 {
    color: var(--coral);
    font-size: 2rem;
    margin-top: 0px;
    margin-bottom: 1rem;
}

.industry-container .rightcard h4,
.services-container .rightcard h4 {
    color: var(--coral);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.industry-container .rightcard p,
.services-container .rightcard p {
    text-align: justify;
    margin-top: 0px;
    line-height: 1.8;
    color: #555;
}

.industry-container .leftcard .w3-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.industry-container .leftcard .w3-card:hover {
    box-shadow: var(--shadow-lg);
}

/* ===== Buttons ===== */
.form-submit-button,
.hire-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light)) !important;
    color: white !important;
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.form-submit-button:hover,
.hire-button:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue)) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ===== Animations ===== */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* ===== Responsive Design ===== */
@media only screen and (max-width: 1100px) {

    .industry-container .rightcard,
    .services-container .rightcard {
        padding: 0px 20px;
    }

    .industry-container .rightcard h4,
    .services-container .rightcard h4 {
        margin: 0px;
    }

    .service-wrapper .w3-display-middle {
        width: 80%;
    }
}

@media only screen and (max-width: 900px) {
    .hero-slider .content {
        max-width: 650px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media only screen and (orientation: portrait) {

    #hero-slider,
    .hero-slider .slide {
        height: 100vw;
    }
}

@media only screen and (max-width: 768px) {

    .industry-container .rightcard,
    .services-container .rightcard {
        padding: 0px 10px;
    }

    .industry-container .rightcard h3,
    .services-container .rightcard h3 {
        font-size: 20px;
        margin: 0px;
    }

    .industry-container .rightcard h4,
    .services-container .rightcard h4 {
        font-size: 16px;
    }

    .industry-container,
    .services-container {
        padding: 7px 10px;
    }

    .service-wrapper .w3-display-middle {
        width: 100%;
    }
}

@media only screen and (max-width: 740px) {
    .nav-bar .w3-bar-item.w3-right {
        padding: 0px !important;
        display: block;
        float: none !important;
        text-align: center;
        font-size: 14px;
    }

    .nav-logo {
        float: none !important;
        padding: 0px !important;
        margin-bottom: 15px !important;
    }

    .our-services .w3-card {
        flex: none !important;
        display: block;
    }

    .our-services .w3-row-padding {
        margin-top: 0px !important;
    }

    .scrollable-section {
        scroll-margin-top: 133px;
    }

    .nav-bar .w3-bar-item .w3-button:not(.contact-button) {
        display: none;
    }

    .nav-bar {
        padding: 20px !important;
    }

    .nav-bar .w3-button.contact-button,
    .nav-bar .w3-button.contact-button:hover {
        padding: 8px 20px !important;
    }

    .industry-card-container {
        padding: 2px 4px !important;
    }

    .services-list img {
        max-width: 200px;
    }

    .service-wrapper .w3-display-middle {
        width: 100%;
        position: static;
        transform: none;
    }

    .service-text-overlay {
        background-color: rgb(0, 0, 0);
    }

    .service-wrapper {
        padding: 15px 0px;
    }

    .service-wrapper img {
        filter: none;
    }

    .service-wrapper h2 {
        font-size: 24px;
    }

    .hero-slider .content {
        left: 0px;
        max-width: 100%;
        padding: 20px;
    }

    .hero-slider .content h2 {
        font-size: xx-large;
        text-align: center;
        display: none;
    }

    .content.animate p {
        animation-delay: 0.5s;
    }
}

@media only screen and (max-width: 600px) {

    .industry-container img,
    .services-container img {
        display: none;
    }
}

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--coral);
    font-weight: 400;
}

/* ===== SVG Service Icons ===== */
.service-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 20px auto;
    display: block;
}

.service-icon .icon-node,
.service-icon .icon-center,
.service-icon .icon-brain,
.service-icon .icon-bar,
.service-icon .icon-db,
.service-icon .icon-gear-outer,
.service-icon .icon-gear-inner,
.service-icon .icon-bubble {
    transition: var(--transition);
}

.services-list .w3-card:hover .icon-node {
    transform: scale(1.2);
}

.services-list .w3-card:hover .icon-center {
    transform: scale(1.1) rotate(10deg);
}

.services-list .w3-card:hover .icon-brain {
    transform: translateY(-3px);
}

.services-list .w3-card:hover .icon-bar {
    transform: scaleY(1.1);
}

.services-list .w3-card:hover .icon-db {
    transform: translateX(3px);
}

.services-list .w3-card:hover .icon-gear-outer {
    transform: rotate(15deg);
}

.services-list .w3-card:hover .icon-gear-inner {
    transform: rotate(-15deg);
}

.services-list .w3-card:hover .icon-bubble {
    transform: scale(1.05);
}

/* ===== Enhanced Footer ===== */
.enhanced-footer {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    color: white;
}

.enhanced-footer h4 {
    color: var(--coral);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.enhanced-footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    font-weight: 600;
}

.footer-cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===== Floating CTA Button ===== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    z-index: 9998;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s ease;
}

.floating-cta.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    box-shadow: 0 6px 30px rgba(0, 123, 255, 0.6);
    transform: translateY(-3px);
}

.floating-cta svg {
    transition: var(--transition);
}

.floating-cta:hover svg {
    transform: translateX(5px);
}

/* ===== Scroll Animations ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-animate.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for multiple elements */
.scroll-animate:nth-child(1).fade-in-up {
    animation-delay: 0.1s;
}

.scroll-animate:nth-child(2).fade-in-up {
    animation-delay: 0.2s;
}

.scroll-animate:nth-child(3).fade-in-up {
    animation-delay: 0.3s;
}

.scroll-animate:nth-child(4).fade-in-up {
    animation-delay: 0.4s;
}

.scroll-animate:nth-child(5).fade-in-up {
    animation-delay: 0.5s;
}

.scroll-animate:nth-child(6).fade-in-up {
    animation-delay: 0.6s;
}