/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --text-color: #374151;
    --text-light: #6b7280;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    height: 90px; /* Increased from 80px */
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 30px; /* Increased from 20px */
    margin: 0 auto;
    max-width: 1200px;
    height: 100%;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px; /* Increased from 50px */
    width: auto;
    max-height: 70px; /* Increased from 60px */
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo h1 span {
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 8px;
    color: var(--text-light);
    letter-spacing: 1px;
    position: relative;
    padding-left: 10px;
}

.logo h1 span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: var(--text-light);
    opacity: 0.5;
}

.logo p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    margin-top: 0;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .btn-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(45deg, #4299e1, #3182ce);
    border: none;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(66, 153, 225, 0.4);
}

.hero .btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.hero .btn-primary:hover:before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.service-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Service Card with Background Images */
.service-card.webdev-service,
.service-card.drone-service,
.service-card.cctv-service,
.service-card.network-service,
.service-card.solar-service,
.service-card.vehicle-service,
.service-card.it-service,
.service-card.support-service {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)) no-repeat center center/cover;
    color: white;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Ensure any inline <img> inside a service card fills the card and uses cover crop */
.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.service-card .service-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: center;
}

/* Darker overlay on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card:hover::before {
    background: rgba(0, 0, 0, 0.8);
}

/* Specific background images for each service */
.service-card.webdev-service {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/services/web-development.jpg');
}

.service-card.drone-service {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/services/drone-technology.jpg');
}

.service-card.cctv-service {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/services/cctv-solutions.jpg');
}

.service-card.network-service {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/services/networking.jpg');
}

.service-card.solar-service {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/services/solar.jpg');
}

.service-card.vehicle-service {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/services/vehicle-tracking.jpg');
}

/* Service content styling */
.service-card .service-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    text-align: center;
}

/* Text and icon styling for cards with background */
.service-card.webdev-service i,
.service-card.drone-service i,
.service-card.cctv-service i,
.service-card.network-service i,
.service-card.solar-service i,
.service-card.vehicle-service i,
.service-card.it-service i,
.service-card.support-service i,
.service-card.webdev-service h3,
.service-card.drone-service h3,
.service-card.cctv-service h3,
.service-card.network-service h3,
.service-card.solar-service h3,
.service-card.vehicle-service h3,
.service-card.it-service h3,
.service-card.support-service h3,
.service-card.webdev-service p,
.service-card.drone-service p,
.service-card.cctv-service p,
.service-card.network-service p,
.service-card.solar-service p,
.service-card.vehicle-service p,
.service-card.it-service p,
.service-card.support-service p {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Hover effects */
.service-card.webdev-service:hover,
.service-card.drone-service:hover,
.service-card.cctv-service:hover,
.service-card.network-service:hover,
.service-card.solar-service:hover,
.service-card.vehicle-service:hover,
.service-card.it-service:hover,
.service-card.support-service:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Content positioning */
.service-card .service-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Hover effect for content */
.service-card:hover .service-content {
    transform: translateY(-5px);
}

/* Icon hover effect */
.service-card.webdev-service:hover i,
.service-card.cctv-service:hover i,
.service-card.network-service:hover i,
.service-card.solar-service:hover i,
.service-card.vehicle-service:hover i,
.service-card.it-service:hover i,
.service-card.support-service:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #4f9fff;
    text-shadow: 0 0 10px rgba(79, 159, 255, 0.5);
}

/* Special hover effect for drone icon */
.service-card.drone-service i {
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card.drone-service:hover i {
    transform: scale(1.4) rotate(10deg);
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 0 5px rgba(79, 159, 255, 0.8));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Page Header (redesigned banner) */
.page-header {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-bottom: 60px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    /* primary: your chosen header image; fallback: banner.png */
    background-image: url('../images/About_us.jpg'), url('../images/banner.png');
    background-position: right center, center center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    filter: brightness(0.55) contrast(1.05);
    transition: transform 8s linear;
}

.page-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.55), rgba(2,6,23,0.45));
    mix-blend-mode: multiply;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.6rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.95);
}

.breadcrumb .sep {
    margin: 0 8px;
    color: rgba(255,255,255,0.6);
}

.page-header-content {
    max-width: 900px;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 800; /* keep strong bold */
    color: var(--white); /* ensure white color */
    /* stronger dual-layered shadow for depth and contrast */
    text-shadow: 0 6px 18px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.35);
    letter-spacing: 0.2px;
    line-height: 1.05;
}

.page-header .lead {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.95);
}

.header-cta {
    display:inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 8px 20px rgba(37,99,235,0.25);
    color: var(--white);
    font-weight: 600;
}

/* subtle pan animation for background on hover */
.page-header:hover .page-header-bg {
    transform: scale(1.04);
}

@media (max-width: 992px) {
    .page-header { min-height: 260px; }
    .page-header h1 { font-size: 2rem; }
    .page-header .lead { font-size: 1rem; }
}

@media (max-width: 768px) {
    .page-header { padding: 40px 0; }
    .breadcrumb { text-align: center; display:block; }
    .page-header .container { text-align: center; }
}

/* Services-specific header styling */
.page-header.services-header {
    min-height: 320px;
    padding: 48px 0;
    display: flex;
    align-items: center;
}
.services-header .page-header-bg {
    /* use a subtle photo from services with a blue gradient overlay */
    background-image: linear-gradient(135deg, rgba(2,6,23,0.55), rgba(37,99,235,0.45)), url('../images/services/webappdevelopment1.jpg');
    background-position: center center;
    background-size: cover;
    filter: brightness(0.56) saturate(1.05);
    transition: transform 8s linear, filter 0.3s ease;
}

/* Glass card for the header content to improve contrast */
.services-header .page-header-content {
    display: inline-block;
    max-width: 760px;
    padding: 32px 36px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    box-shadow: 0 18px 40px rgba(2,6,23,0.5);
    backdrop-filter: blur(8px) saturate(1.1);
    border: 1px solid rgba(255,255,255,0.06);
}

.services-header .page-header-content h1,
.services-header .page-header-content .lead,
.services-header .page-header-content .header-cta {
    color: var(--white);
}

.services-header .header-cta {
    margin-top: 12px;
    box-shadow: 0 10px 28px rgba(37,99,235,0.24);
    border: none;
}

.services-header .header-cta:focus,
.services-header .header-cta:active {
    outline: 3px solid rgba(37,99,235,0.18);
    transform: translateY(-1px);
}

/* small tweak for background hover */
.page-header.services-header:hover .page-header-bg {
    transform: scale(1.03);
    filter: brightness(0.6) saturate(1.08);
}

@media (max-width: 992px) {
    .services-header .page-header-content { max-width: 100%; padding: 22px; }
}

/* Drone-specific header background & accents */
.drone-header .page-header-bg {
    background-image: linear-gradient(135deg, rgba(6,182,212,0.46), rgba(37,99,235,0.34)), url('../images/services/drone-technology.jpg.jpg');
    background-position: center center;
    background-size: cover;
    filter: brightness(0.56) saturate(1.05);
}

.drone-header .page-header-content {
    box-shadow: 0 22px 48px rgba(6,182,212,0.12);
    border: 1px solid rgba(6,182,212,0.06);
}

@media (max-width: 992px) {
    .drone-header .page-header-bg { background-position: center top; }
}

/* CCTV-specific header & accents */
.cctv-header .page-header-bg {
    background-image: linear-gradient(135deg, rgba(124,58,237,0.44), rgba(37,99,235,0.26)), url('../images/services/cctv-solutions.jpg');
    background-position: center center;
    background-size: cover;
    filter: brightness(0.56) saturate(1.03);
}

.cctv-header .page-header-content {
    box-shadow: 0 22px 48px rgba(124,58,237,0.10);
    border: 1px solid rgba(124,58,237,0.06);
}

@media (max-width: 992px) {
    .cctv-header .page-header-bg { background-position: center top; }
}

/* Networking-specific header & accents */
.network-header .page-header-bg {
    background-image: linear-gradient(135deg, rgba(37,99,235,0.44), rgba(6,182,212,0.26)), url('../images/services/networking.jpg');
    background-position: center center;
    background-size: cover;
    filter: brightness(0.56) saturate(1.03);
}

.network-header .page-header-content {
    box-shadow: 0 22px 48px rgba(37,99,235,0.10);
    border: 1px solid rgba(37,99,235,0.06);
}

@media (max-width: 992px) {
    .network-header .page-header-bg { background-position: center top; }
}

/* Solar-specific header & accents */
.solar-header .page-header-bg {
    background-image: linear-gradient(135deg, rgba(255,160,0,0.38), rgba(255,99,71,0.22)), url('../images/services/solar.jpg');
    background-position: center center;
    background-size: cover;
    filter: brightness(0.6) saturate(1.05);
}

.solar-header .page-header-content {
    box-shadow: 0 22px 48px rgba(255,160,0,0.08);
    border: 1px solid rgba(255,160,0,0.06);
}

@media (max-width: 992px) {
    .solar-header .page-header-bg { background-position: center top; }
}

/* Vehicle Tracking header & accents */
.vehicle-header .page-header-bg {
    background-image: linear-gradient(135deg, rgba(59,130,246,0.36), rgba(16,185,129,0.22)), url('../images/services/vehicle-tracking.jpg');
    background-position: center center;
    background-size: cover;
    filter: brightness(0.56) saturate(1.05);
}

.vehicle-header .page-header-content {
    box-shadow: 0 22px 48px rgba(59,130,246,0.10);
    border: 1px solid rgba(59,130,246,0.06);
}

@media (max-width: 992px) {
    .vehicle-header .page-header-bg { background-position: center top; }
}

/* IT & Digital header & accents */
.it-header .page-header-bg {
    background-image: linear-gradient(135deg, rgba(99,102,241,0.38), rgba(37,99,235,0.22)), url('../images/services/it_digital.jpg.jpg');
    background-position: center center;
    background-size: cover;
    filter: brightness(0.56) saturate(1.05);
}

.it-header .page-header-content {
    box-shadow: 0 22px 48px rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.06);
}

@media (max-width: 992px) {
    .it-header .page-header-bg { background-position: center top; }
}

/* Support-specific header & accents */
.support-header .page-header-bg {
    background-image: linear-gradient(135deg, rgba(16,185,129,0.34), rgba(14,165,233,0.22)), url('../images/services/technical_support.jpg.jpg');
    background-position: center center;
    background-size: cover;
    filter: brightness(0.56) saturate(1.05);
}

.support-header .page-header-content {
    box-shadow: 0 22px 48px rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.06);
}

@media (max-width: 992px) {
    .support-header .page-header-bg { background-position: center top; }
}

/* About Us Section */
.about-us {
    padding: 80px 0;
}

.about-content {
    display: grid;
    /* make image column slightly larger to emphasize the image */
    grid-template-columns: 40% 60%;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
} 

/* ensure the layout falls back nicely on smaller screens */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
} 

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    /* give the image a taller minimum height to make it more prominent */
    min-height: 420px;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%; /* fill the container height */
    object-fit: cover; /* crop without distortion */
    object-position: right center; /* ensure the image is focused on the right side */
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-image {
        min-height: 220px;
    }
}

/* Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.mission, .vision {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mission:hover, .vision:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission i, .vision i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.mission:hover i, .vision:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.mission h3, .vision h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Core Values */
.values {
    margin-bottom: 80px;
    text-align: center;
}

.values h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1400px;
}

/* Remove scrollbar styles since we're not using horizontal scrolling anymore */

.values-grid .value-item {
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.values-grid .value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.15);
    border-color: #d1d5db;
}

.value-item i {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.value-item h4 {
    color: #1f2937;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.value-item p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gradient accent on hover */
.value-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-item:hover::after {
    transform: scaleX(1);
}

/* Icon hover effect */
.value-item:hover i {
    transform: scale(1.1) rotate(5deg);
    color: #3b82f6;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .values-grid .value-item {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 15px 0;
    }
    
    .values-grid .value-item {
        padding: 20px 15px;
    }
    
    .value-item i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .value-item h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .value-item p {
        font-size: 0.9rem;
    }
}

.value-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.value-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary-color);
}

.value-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Team Section */
.team {
    text-align: center;
    margin-bottom: 80px;
}

.team h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.team > p {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Clients Marquee and Cards */
.marquee {
    width: 100%;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px; /* space between rows */
}

.marquee-track {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 10px 0;
    /* allow wrapping into multiple items per row */
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
}

/* optional: provide a consistent max width and center rows */
.marquee-track.marquee-row {
    /* layout as a 4-column grid so each row contains exactly 4 logos on wider screens */
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* ensure client-card fills the grid cell and doesn't force extra wrapping */
.marquee-track.marquee-row .client-card {
    min-width: auto;
    width: 100%;
    justify-self: center;
}

/* Responsive: two columns per row on small screens */
@media (max-width: 768px) {
    .marquee-track.marquee-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.client-card {
    min-width: 200px;
    height: 120px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex: 0 0 auto;
}

/* Fallback img inside client-card (for testing and better accessibility) */
.client-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .client-card {
        min-width: 140px;
        height: 90px;
    }
    .marquee-track {
        gap: 12px;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.social-links {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background: rgba(37, 99, 235, 0.9);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: bottom 0.3s ease;
}

.team-member:hover .social-links {
    bottom: 0;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.team-member h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--dark-color);
}

.team-member p {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto 80px;
    }
    
    .values-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .values-grid, .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 1s ease forwards;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Service pages: hero, features, process, testimonials, faq (colorful update) */
.service-hero {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 40px;
    align-items: center;
    margin: 40px 0 60px;
}

.service-hero .hero-text h2 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.service-hero .hero-text .lead {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-hero .hero-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* --- Colorful Features --- */
.features {
    margin: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature {
    position: relative;
    overflow: hidden;
    padding: 28px 18px;
    border-radius: 14px;
    color: white;
    min-height: 140px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(2,6,23,0.12); }

/* colorful gradient backgrounds per feature */
.feature:nth-child(1) { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);} /* purple->blue */
.feature:nth-child(2) { background: linear-gradient(135deg, #0ba360 0%, #3cba92 100%);} /* green */
.feature:nth-child(3) { background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);} /* orange */
.feature:nth-child(4) { background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);} /* pink/red */

.feature i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    margin: 0 auto 12px auto;
    font-size: 1.2rem;
}

.feature h4 { margin-bottom: 8px; font-weight: 700; }
.feature p { color: rgba(255,255,255,0.92); }

/* --- Process with accent borders and colorful numbers --- */
.process { margin: 40px 0; }

.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

.step { background: linear-gradient(180deg, #ffffff, #fbfbff); padding: 20px; border-radius: 12px; position: relative; box-shadow: var(--shadow); }

.step::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 12px 0 0 12px; }
.step:nth-child(1)::before { background: linear-gradient(180deg,#6a11cb,#2575fc); }
.step:nth-child(2)::before { background: linear-gradient(180deg,#0ba360,#3cba92); }
.step:nth-child(3)::before { background: linear-gradient(180deg,#f7971e,#ffd200); }
.step:nth-child(4)::before { background: linear-gradient(180deg,#ff416c,#ff4b2b); }

.step-num { display: inline-block; background: linear-gradient(135deg,#0ea5e9,#7c3aed); color: white; width: 40px; height: 40px; line-height: 40px; border-radius: 50%; text-align: center; margin-bottom: 8px; font-weight: 700; }

/* --- Testimonial: colorful card with quote accent --- */
.testimonials { margin: 40px 0; }

.testimonial { background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(79,70,229,0.04)); padding: 28px; border-radius: 12px; box-shadow: var(--shadow); position: relative; }

.testimonial:before { content: '“'; font-size: 64px; color: rgba(79,70,229,0.12); position: absolute; left: 18px; top: -8px; }

.testimonial p { font-size: 1.05rem; margin-bottom: 10px; }

/* --- FAQ: styled details --- */
.faq { margin: 40px 0; }

.faq details { margin-bottom: 12px; background: #f8fafc; padding: 12px 16px; border-radius: 8px; box-shadow: 0 6px 18px rgba(2,6,23,0.03); }

.faq summary { cursor: pointer; font-weight: 600; list-style: none; }

.faq summary::-webkit-details-marker { display: none; }

/* --- Contact CTA: bold gradient card --- */
.contact-cta { margin: 40px 0 80px; text-align: center; }

.contact-cta { background: linear-gradient(90deg, rgba(79,70,229,0.12), rgba(37,99,235,0.08)); padding: 28px; border-radius: 14px; }

.contact-cta h3 { margin-bottom: 6px; }
.contact-cta p { color: var(--text-light); margin-bottom: 14px; }

.contact-cta .btn-primary { padding: 12px 28px; font-size: 1rem; box-shadow: 0 12px 30px rgba(79,70,229,0.18); }

/* Responsive */
@media (max-width: 1024px) { .service-hero { grid-template-columns: 1fr 420px; } }
@media (max-width: 768px) { .service-hero { grid-template-columns: 1fr; } .service-hero .hero-image img { height: 260px; } }

/* Contact page styles */
.contact-hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: start;
    margin: 40px 0 80px;
}

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.contact-card { background: var(--white); padding: 18px; border-radius: 10px; box-shadow: var(--shadow); }
.contact-card h4 { margin-bottom: 8px; }

.contact-form { background: var(--white); padding: 18px; border-radius: 10px; box-shadow: var(--shadow); }
.contact-form label { display:block; font-weight:600; margin-bottom:6px; }
.contact-form input, .contact-form textarea, .contact-form select { width:100%; padding:10px; border:1px solid #e5e7eb; border-radius:8px; margin-bottom:12px; }
.contact-form textarea { min-height:140px; resize:vertical; }

.map { width:100%; height:260px; border-radius:10px; background:#e6eefc; display:flex; align-items:center; justify-content:center; color:var(--text-light); font-weight:700; box-shadow:var(--shadow); }

/* Contact header */
.contact-header .page-header-bg {
    background-image: linear-gradient(135deg, rgba(37,99,235,0.46), rgba(7,89,133,0.28));
    background-position: center center;
    background-size: cover;
    filter: brightness(0.6) saturate(1.03);
}

@media (max-width: 900px) { .contact-hero { grid-template-columns: 1fr; } }

/* Footer */
footer { background-color: var(--dark-color); color: var(--light-color); padding: 60px 0 0; }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, 
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after,
.footer-section h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--white);
        transition: var(--transition);
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3:after,
    .footer-section h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}
