
:root {
    --primary-color: #1a237e;
    --primary-light: #534bae;
    --primary-dark: #000051;
    --secondary-color: #00bcd4;
    --accent-color: #ff4081;
    --light-color: #f5f5f5;
    --dark-color: #212121;
    --text-color: #424242;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.navbar {
    background-color: white !important;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.8rem;
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
    margin-bottom: 25px;
    height: 100%;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h4 {
    margin-top: 15px;
    font-weight: 600;
}

.team-member p {
   color: var(--secondary-color) !important;
    font-weight: 500;
}

/* Improved Social Icons for Team Section */
.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(0, 188, 212, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s;
}

.team-social a:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    transform: translateY(-3px);
}
/* Testimonials Section */
    .testimonial-section {
        background-color: var(--light-color);
    }

    .testimonial-card {
        background: white;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        height: 100%;
        position: relative;
    }

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 5rem;
        color: rgba(0, 188, 212, 0.1);
        font-family: Georgia, serif;
        line-height: 1;
    }

    .testimonial-content {
        position: relative;
        z-index: 1;
    }

    .testimonial-text {
        font-style: italic;
        margin-bottom: 20px;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
    }

    .testimonial-author img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 15px;
    }

    .author-info h5 {
        margin-bottom: 0;
        font-weight: 600;
    }

    .author-info p {
        color: var(--secondary-color);
        font-size: 0.9rem;
        margin-bottom: 0;
    }
.client-logo-container {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s;
}

.client-logo {
    max-height: 60px;
    max-width: 150px;
    filter: grayscale(100%) contrast(0.5);
    opacity: 0.7;
    transition: all 0.3s;
}

.client-logo:hover {
    filter: grayscale(0) contrast(1);
    opacity: 1;
    transform: scale(1.1);
}

.clients-carousel {
    padding: 40px 0;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.project-card img {
    transition: all 0.5s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 35, 126, 0.9);
    color: white;
    padding: 25px;
    transition: all 0.3s;
    transform: translateY(100%);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.contact-info {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background-color: white;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.contact-info h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-about {
    opacity: 0.8;
    margin-bottom: 25px;
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    color: white;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

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

.footer-links a:hover::after {
    width: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    opacity: 0.7;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
}

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

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

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

/* Floating elements animation */
.floating {
    animation: floating 6s ease-in-out infinite;
}

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

/* Scrollable clients section */
.clients-wrapper {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.clients-track {
    display: flex;
    gap: 30px;
    padding: 0 20px;
    width: max-content;
}

/* Custom scrollbar */
.clients-wrapper::-webkit-scrollbar {
    height: 6px;
}

.clients-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.clients-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-section {
        padding: 120px 0 80px;
        text-align: center;
    }

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

    .clients-track {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

/* Responsive adjustments - Enhanced */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    section {
        padding: 80px 0;
    }
    .team-member img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    .section-title::after {
        bottom: -15px;
    }
    .section-subtitle {
        margin-bottom: 40px;
        font-size: 1rem;
    }
    .clients-track {
        gap: 15px;
    }
    .client-logo {
        max-height: 50px;
    }
    .testimonial-card {
        padding: 20px;
    }
    .contact-info {
        padding: 30px 20px;
    }
    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .btn-primary, .btn-outline-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .team-member img {
        width: 120px;
        height: 120px;
    }
    .project-overlay {
        padding: 15px;
    }
    .product-img {
        height: 150px;
    }
    .client-logo-container {
        height: 100px;
        padding: 15px;
    }
    .footer-logo {
        font-size: 1.5rem;
    }
}

/* Mobile-specific fixes */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    .hero-section .d-flex {
        flex-direction: column;
    }
    .hero-section .gap-3 {
        gap: 10px !important;
    }
    .team-social a {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    .testimonial-author img {
        width: 40px;
        height: 40px;
    }
    #contact .row.g-4 > [class^="col-"] {
        margin-bottom: 20px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.4rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .navbar-brand {
        font-size: 1.3rem;
    }
}

/* Tablet landscape orientation fix */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        padding: 100px 0;
    }
    .team-member img {
        width: 140px;
        height: 140px;
    }
}

/* High-density displays */
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    /* Adjustments for retina displays */
    .client-logo {
        max-height: 70px;
    }
}

/* Print styles */
@media print {
    .navbar, footer {
        display: none;
    }
    body {
        padding: 20px;
        color: #000;
    }
    .hero-section {
        background: #fff !important;
        color: #000 !important;
        padding: 20px 0 !important;
    }
    section {
        page-break-before: avoid;
        page-break-after: avoid;
        padding: 30px 0 !important;
    }
}
