/* Global Styles */
:root {
    --primary-color: #6200ea;
    --secondary-color: #03dac6;
    --dark-color: #121212;
    --light-color: #f5f5f7;
    --gradient: linear-gradient(135deg, var(--primary-color), #9d4edd);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0.7);
    transform-origin: left;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-button {
    background: var(--gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(98, 0, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(98, 0, 234, 0.4);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 5% 80px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8eaf6 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(98, 0, 234, 0.05) 0%, rgba(3, 218, 198, 0.05) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}

.hero-content .subheadline {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    animation: float 6s ease-in-out infinite;
}

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

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.primary-button, .secondary-button {
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.primary-button {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(98, 0, 234, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(98, 0, 234, 0.4);
}

.secondary-button {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-button:hover {
    background: rgba(98, 0, 234, 0.1);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 100px 5%;
    background-color: white;
    opacity: 1 !important;
    transform: none !important;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.founder-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.founder-image:hover {
    transform: scale(1.02);
}

.image-caption {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
}

.about-content {
    flex: 2;
    min-width: 300px;
    text-align: left;
    opacity: 1 !important;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
    opacity: 1 !important;
    transform: none !important;
}

/* Services Section */
.services {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8eaf6 100%);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-category {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.service-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-category h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.service-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.service-category ul {
    list-style: none;
}

.service-category ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.service-category ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Case Studies Section */
.case-studies {
    padding: 100px 5%;
    background-color: white;
    opacity: 1 !important;
    transform: none !important;
}

.case-study-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 1 !important;
}

.case-study-content > p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
    opacity: 1 !important;
}

/* Logo Carousel */
.logo-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 40px;
    overflow: hidden;
}

.logo-carousel {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.logo-slide {
    min-width: 250px;
    width: 250px;
    padding: 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.client-logo {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    opacity: 0.8;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    filter: grayscale(20%);
}

.logo-slide:hover .client-logo {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    filter: grayscale(0%);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-control {
    background: var(--gradient);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(98, 0, 234, 0.3);
    transition: all 0.3s ease;
    font-size: 16px;
}

.carousel-control:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(98, 0, 234, 0.4);
}

.carousel-control:active {
    transform: translateY(-1px) scale(0.95);
}

.carousel-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(98, 0, 234, 0.3);
}

/* Responsive carousel */
@media (max-width: 768px) {
    .logo-carousel-container {
        padding: 0 20px;
    }
    
    .logo-slide {
        min-width: 200px;
        width: 200px;
        padding: 0 15px;
    }
    
    .client-logo {
        max-width: 150px;
        max-height: 100px;
    }
    
    .carousel-control {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo-carousel-container {
        padding: 0 15px;
    }
    
    .logo-slide {
        min-width: 160px;
        width: 160px;
        padding: 0 10px;
    }
    
    .client-logo {
        max-width: 120px;
        max-height: 80px;
    }
    
    .carousel-controls {
        gap: 15px;
        margin-top: 25px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
}

.case-study-example {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8eaf6 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: left;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
    opacity: 1 !important;
    transform: none !important;
}

.case-study-example h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.6rem;
}

.case-study-example h4 {
    margin: 25px 0 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.case-study-example p {
    margin-bottom: 10px;
}

.case-study-example ul {
    margin: 15px 0 15px 20px;
    list-style-type: disc;
}

.case-study-example ul li {
    margin-bottom: 8px;
}

/* Responsive carousel */
@media (max-width: 768px) {
    .logo-slide {
        min-width: 200px; /* Increased from 150px */
        padding: 0 20px; /* Increased from 15px */
    }
    
    .client-logo {
        max-height: 100px; /* Increased from 80px */
    }
}

@media (max-width: 480px) {
    .logo-slide {
        min-width: 150px; /* Increased from 120px */
        padding: 0 15px; /* Increased from 10px */
    }
    
    .client-logo {
        max-height: 80px; /* Increased from 60px */
    }
    
    .logo-carousel-container {
        padding: 0 20px;
    }
}

/* Blog Section */
.blog {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8eaf6 100%);
    opacity: 1 !important;
    transform: none !important;
}

.blog-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    opacity: 1 !important;
}

.blog-content > p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
    opacity: 1 !important;
    transform: none !important;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-post {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: left;
    transition: all 0.3s ease;
    opacity: 1 !important;
    transform: none !important;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-post h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.blog-content-preview {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
}

.blog-content-preview p {
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.full-blog-content {
    display: none;
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    background-color: white;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-form {
    flex: 1.5;
    padding: 50px;
}

.contact-form p {
    margin-bottom: 30px;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(98, 0, 234, 0.1);
}

.contact-info {
    flex: 1;
    background: var(--gradient);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-wrap: anywhere;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 5% 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    margin: 0 10px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 200px;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* Confirmation Message Styles */
.confirmation-message {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.confirmation-message h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.confirmation-message p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .confirmation-message {
        padding: 30px 20px;
    }
    
    .confirmation-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .confirmation-message h3 {
        font-size: 20px;
    }
}
/* Message Link Styles */
.contact-info .info-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .info-item a:hover {
    color: var(--primary-color);
}

.fas.fa-comment {
    color: #34C759; /* Apple Messages green color */
}

.secondary-button .fas.fa-comment {
    color: inherit;
}

.secondary-button:hover .fas.fa-comment {
    color: white;
}
