/* Enhanced CSS Variables with modern color scheme */
:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1e40af;
    --primary-orange: #f97316;
    --secondary-orange: #ea580c;
    --light-bg: #f8fafc;
    --dark-text: #0f172a;
    --light-text: #fff;
    --gray-text: #64748b;
    --gray-light: #cbd5e1;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --primary-gradient: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    --secondary-gradient: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

/* Global Styles with modern typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--light-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: -0.02em;
}

/* Modern underline effect for h2 */
h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 10px;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-text);
    line-height: 1.75;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Modern button styles with better hover effects */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--light-text);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

.btn-blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--light-text);
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Modern fixed header with backdrop blur */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Enhanced logo with gradient */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.logo-text span {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

/* Modern nav links with indicator */
.nav-links li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links li a:hover {
    color: var(--primary-orange);
    background: rgba(249, 115, 22, 0.1);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
    padding: 0.5rem;
    transition: var(--transition-fast);
}

.mobile-menu:hover {
    color: var(--primary-orange);
}

/* Modern hero section with gradient and animations */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: var(--light-text);
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    animation: fadeInUp 0.8s ease-out;
    font-weight: 800;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    line-height: 1.75;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern about section with cards */
.about {
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
}

.about-text h2:after {
    left: 0;
    transform: none;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Enhanced stat cards with gradient borders */
.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--light-text);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.stat-text {
    font-weight: 600;
    color: var(--gray-text);
    font-size: 0.95rem;
}

.about-image {
    text-align: center;
}

/* Enhanced image styling */
.about-image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* CEO Section */
.ceo-section {
    background: var(--light-text);
    padding: 6rem 0;
}

.ceo-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 5rem;
    align-items: center;
}

.ceo-image {
    text-align: center;
    position: relative;
}

.ceo-image:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    border-radius: var(--radius-xl);
    opacity: 0.1;
    z-index: 0;
}

.ceo-image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.ceo-image img:hover {
    transform: scale(1.02);
}

.ceo-content h2 {
    text-align: left;
}

.ceo-content h2:after {
    left: 0;
    transform: none;
}

.ceo-role {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ceo-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.ceo-content p {
    font-size: 1.05rem;
}

/* Modern quote styling */
.ceo-quote {
    font-style: italic;
    color: var(--dark-text);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(249, 115, 22, 0.05));
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: var(--radius);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Director Section with modern card design */
.director-section {
    background: var(--light-bg);
    padding: 6rem 0;
}

.director-container {
    max-width: 1100px;
    margin: 0 auto;
}

.director-card {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: center;
    background: var(--light-text);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-top: 3rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.director-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.director-image {
    text-align: center;
    position: relative;
}

.director-image:before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    border-radius: var(--radius-lg);
    opacity: 0.1;
    z-index: 0;
}

.director-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.director-image img:hover {
    transform: scale(1.02);
}

.director-content h3 {
    color: var(--primary-blue);
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
}

.director-role {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.director-content p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Team Section Styles - UPDATED WITH SMALLER IMAGES */
.team {
    background: var(--light-bg);
    padding: 6rem 0;
}

.team h2 {
    text-align: center;
    color: var(--primary-blue);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--light-text);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.75rem;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Improved image sizing: use aspect-ratio for consistent crops and flex layout */
.team-image {
    width: 100%;
    aspect-ratio: 3 / 4; /* portrait box to show more of the face */
    overflow: hidden;
    position: relative;
    flex: 0 0 auto;
    background: var(--light-bg);
    min-height: 320px; /* ensure enough vertical space on narrow containers */
}

.team-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* center faces by default */
    transition: transform 0.5s var(--transition-fast);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

/* Per-image helpers so you can tweak framing per card in HTML: */
.team-image.position-top img { object-position: center top; }
.team-image.position-center img { object-position: center center; }
.team-image.position-bottom img { object-position: center bottom; }

/* Larger screens: keep images a bit taller */
@media (min-width: 1200px) {
    .team-image { min-height: 380px; aspect-ratio: 3 / 4; }
}

.team-content {
    padding: 1.5rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .team-image { aspect-ratio: 5 / 4; }
}

@media (max-width: 480px) {
    .team-image { aspect-ratio: 4 / 3; }
    .team-card { padding-bottom: 0.5rem; }
    .team-content h3 { font-size: 1.15rem; }
}

.team-content {
    padding: 1.5rem;
}

.team-content h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-content p {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-text);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.5s;
}

.service-card:hover:before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--light-text);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.975rem;
}

/* Success Stories */
.success-stories {
    background: var(--light-text);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.story-card {
    background: var(--light-text);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.story-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-content {
    padding: 1.75rem;
}

.story-content h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.company {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.story-content p {
    font-size: 0.975rem;
}

/* Video Section */
.video-section {
    text-align: center;
    background: var(--light-bg);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-placeholder {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.video-placeholder:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 0; }
}

.play-btn {
    font-size: 5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
    color: var(--light-text);
}

.play-btn:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.video-placeholder p {
    z-index: 1;
}

/* Modern CTA Section */
.cta {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%);
    color: var(--light-text);
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta h2:after {
    background: var(--light-text);
}

.cta p {
    max-width: 750px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
}

.cta .btn {
    background: var(--light-text);
    color: var(--primary-orange);
    font-weight: 700;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.cta .btn:hover {
    background: var(--light-text);
    transform: translateY(-3px) scale(1.05);
}

/* Contact Section with modern form */
.contact {
    background: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--light-text);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--light-text);
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--dark-text);
}

.contact-details p {
    margin: 0;
    color: var(--gray-text);
}

.contact-form {
    background: var(--light-text);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--light-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--light-text);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

/* Modern Footer */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--light-text);
    padding: 4rem 0 1.5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 1.125rem;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), transparent);
    border-radius: 10px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.footer-links li i {
    margin-right: 0.5rem;
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-orange);
    color: var(--light-text);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Certification Section Styles */
.certifications-section {
    padding: 3rem 0;
    background-color: rgba(255, 255, 255, 0.05);
    margin-top: 2rem;
    border-radius: var(--radius-xl);
}

.certifications-section h3 {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
}

.certifications-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.certifications-scroll {
    display: flex;
    gap: 2.5rem;
    animation: scrollCertifications 30s linear infinite;
    padding: 1rem 0;
}

.certifications-scroll:hover {
    animation-play-state: paused;
}

.certification-item {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    background: var(--light-text);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.certification-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.certification-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scrollCertifications {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-140px * 5 - 2.5rem * 5));
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal h3 {
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
}

.modal-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Service Detail Styles */
.service-detail {
    display: none;
    padding: 6rem 0;
    background: var(--light-text);
}

.service-detail.active {
    display: block;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-text h2 {
    text-align: left;
    color: var(--primary-blue);
}

.service-detail-text h2:after {
    left: 0;
    transform: none;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
}

.service-detail-text p {
    font-size: 1.05rem;
}

.service-features {
    margin: 2rem 0;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    background: var(--light-bg);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-feature:hover {
    background: var(--light-text);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.service-feature i {
    color: var(--primary-orange);
    margin-right: 1rem;
    margin-top: 0.25rem;
    font-size: 1rem;
    min-width: 1rem;
}

.service-feature span {
    color: var(--dark-text);
    line-height: 1.6;
}

.service-duration {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    display: inline-block;
    margin: 1.5rem 0;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.service-detail-image {
    text-align: center;
}

.service-detail-image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.back-btn {
    margin-top: 2rem;
    display: inline-flex;
}

/* Business Services Section Styles */
.business-services {
    background: var(--light-bg);
    padding: 6rem 0;
}

.business-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.business-intro p.lead-text {
    font-size: 1.15rem;
    color: var(--gray-text);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.core-motive {
    background: var(--light-text);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 3rem;
}

.core-motive h3 {
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.core-motive h3 i {
    font-size: 1.5rem;
}

.core-motive p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.business-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.business-service-card {
    background: var(--light-text);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.business-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.featured {
    border: 2px solid var(--primary-orange);
    transform: translateY(-10px); /* Visually lift it more */
}
.featured:hover {
    transform: translateY(-15px); /* Deeper lift */
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(249, 115, 22, 0.2);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-orange);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.business-service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.business-service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.business-service-card p {
    font-size: 0.975rem;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
}

.service-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
    text-align: left;
    padding-left: 20px;
}

.service-highlights li {
    margin-bottom: 0.6rem;
    color: var(--dark-text);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-highlights li i {
    color: var(--primary-orange);
    font-size: 0.9rem;
}

.price-badge {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1rem;
    box-shadow: var(--shadow-sm);
}

.business-cta {
    text-align: center;
    margin-top: 5rem;
    padding: 4rem 2rem;
    background: var(--light-text);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.business-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.business-cta p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Clients & Projects Section */
.clients-projects {
    background: var(--light-text);
    padding: 6rem 0;
}

.clients-projects h2 {
    text-align: center;
    color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: -2rem auto 3rem;
}

.projects-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.status-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.status-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.status-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.status-text {
    font-weight: 600;
    color: var(--gray-text);
    font-size: 0.95rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--light-text);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-status {
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
}

.project-status.ongoing {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
}

.project-status.upcoming {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange);
}

.project-type {
    font-size: 0.85rem;
    color: var(--gray-text);
    font-weight: 600;
}

.project-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.project-card p {
    font-size: 0.975rem;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tech-badge {
    background: var(--gray-light);
    color: var(--dark-text);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.clients-cta {
    text-align: center;
    margin-top: 5rem;
    padding: 4rem 2rem;
    background: var(--light-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.clients-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.clients-cta p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
}

/* Image Slider CSS */
.about-image-slider {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 350px;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    box-sizing: border-box;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Added dark gradient overlay for text readability */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* Added slide content styling for service titles and descriptions */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 600px;
    color: white;
    animation: slideContentFadeIn 0.8s ease-out;
}

@keyframes slideContentFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.slide-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.slide-content .btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.slide-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
}

.slider-btn {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* Chatbot styles in small screens */
.chatbot-container {
    position: fixed;
    bottom: 90px; /* Adjusted to not overlap WhatsApp */
    right: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 550px;
    max-height: calc(100vh - 120px); /* Ensure it doesn't go off-screen */
    border-radius: var(--radius-lg);
    background-color: var(--light-text);
    box-shadow: var(--shadow-xl);
    transform: scale(0) translateY(20px); /* Start scaled down and slightly up */
    opacity: 0;
    transition: all 0.3s ease-out;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform-origin: bottom right; /* Scale from the bottom right corner */
}

.chatbot-container.active {
    transform: scale(1) translateY(0); /* Scale to full size and move to original position */
    opacity: 1;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0; /* Rounded top corners */
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chatbot-header h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.chatbot-status {
    font-size: 0.8rem;
    opacity: 0.8;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbot-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem; /* Reduced padding */
    background: var(--light-bg);
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Reduced gap */
}

.chatbot-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.chatbot-message .message-avatar {
    width: 30px;
    height: 30px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.user-message {
    margin-left: auto;
    max-width: 85%; /* Increased max-width */
    flex-direction: row-reverse;
}

.user-message .message-content {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.65rem 1rem; /* Adjusted padding */
    border-radius: var(--radius-lg) var(--radius-sm) var(--radius-sm) var(--radius-lg);
}

.bot-message .message-content {
    background-color: var(--light-text);
    color: var(--dark-text);
    padding: 0.65rem 1rem; /* Adjusted padding */
    border-radius: var(--radius-sm) var(--radius-lg) var(--radius-lg) var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.chatbot-message p {
    margin: 0;
    line-height: 1.5; /* Adjusted line height */
    font-size: 0.9rem; /* Reduced font size */
}

.chatbot-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem; /* Adjusted padding */
    background: var(--light-bg);
    border-top: 1px solid var(--gray-light);
}

.quick-action-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.4rem 0.85rem; /* Adjusted padding */
    border-radius: var(--radius);
    font-size: 0.8rem; /* Reduced font size */
    cursor: pointer;
    transition: var(--transition-fast);
}

.quick-action-btn:hover {
    background: var(--secondary-blue);
}

.chatbot-input-container {
    display: flex;
    padding: 0.75rem 1rem; /* Adjusted padding */
    background: var(--light-text);
    border-top: 1px solid var(--gray-light);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg); /* Rounded bottom corners */
}

.chatbot-input {
    flex-grow: 1;
    border: 2px solid var(--gray-light);
    padding: 0.65rem 0.85rem; /* Adjusted padding */
    border-radius: var(--radius-lg);
    font-size: 0.9rem; /* Reduced font size */
    font-family: inherit;
    margin-right: 0.5rem;
}

.chatbot-send {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 0.65rem 1rem; /* Adjusted padding */
    border-radius: var(--radius-lg);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chatbot-send:hover {
    background: var(--secondary-orange);
}

/* Mobile responsive adjustments for compact widget */
@media (max-width: 768px) {
    .chatbot-container {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 80px; /* Adjust bottom to not overlap WhatsApp */
        height: 500px;
        max-height: calc(100vh - 100px); /* Ensure it doesn't go off-screen */
    }
}

@media (max-width: 480px) {
    .chatbot-container {
        width: 100vw;
        right: 0;
        bottom: 70px; /* Further adjust for smaller screens */
        height: 500px;
        border-radius: 0; /* Remove rounding on small screens */
    }
}

.chatbot-float {
    position: fixed;
    bottom: 80px; /* Adjusted to not overlap WhatsApp */
    right: 20px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.chatbot-float.hidden {
    display: none;
}

.chatbot-float:hover {
    transform: scale(1.1);
    background: var(--secondary-blue);
}

.chatbot-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Improved team section styles - matches provided screenshot */
.team .team-grid { 
    display: flex; 
    gap: 30px; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: stretch; 
}
.team-card { 
    width: 340px; 
    background: #ffffff; 
    border-radius: 14px; 
    box-shadow: 0 12px 30px rgba(16,24,40,0.08); 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
}
.team-image { 
    height: 190px; 
    overflow: hidden; 
}
.team-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    border-top-left-radius: 14px; 
    border-top-right-radius: 14px; 
}
.team-content { 
    padding: 22px; 
    text-align: center; 
    flex: 1 1 auto; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
}
.team-content h3 { 
    margin: 6px 0 8px; 
    font-size: 20px; 
    color: #1e6eff; 
    font-weight: 700; 
}
.team-role { 
    color: #ff7a00; 
    font-weight: 700; 
    margin-bottom: 12px; 
    text-transform: uppercase; 
    font-size: 13px; 
}
.team-content p { 
    color: #6b7280; 
    line-height: 1.65; 
    margin: 0; 
}
.team-card .team-content p { 
    margin-top: 8px; 
}

/* Mobile-first responsive design */
/* Base mobile styles */
@media (max-width: 767px) {
    .container {
        width: 95%;
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    section {
        padding: 4rem 0;
    }

    .header-container {
        padding: 0.75rem 1rem;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem 0;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
    }

    .nav-links li a {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .mobile-menu {
        display: block;
        order: 2;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        order: 2;
        text-align: center;
    }

    .about-text h2:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-image {
        order: 1;
    }

    .slider-container {
        height: 280px;
    }

    .slide-content {
        padding: 1rem;
    }

    .slide-content h3 {
        font-size: 1.3rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .slide-content .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .ceo-container,
    .director-card,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ceo-image:before,
    .director-image:before {
        display: none;
    }

    .ceo-content,
    .director-content {
        text-align: center;
    }

    .ceo-content h2:after,
    .director-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-image {
        height: 200px;
    }

    .services-grid,
    .business-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .business-service-card {
        padding: 2rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .projects-status {
        grid-template-columns: repeat(2, 1fr);
    }

    .status-card {
        padding: 1.5rem 1rem;
    }

    .status-number {
        font-size: 2rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .story-image {
        height: 200px;
    }

    .video-placeholder {
        height: 300px;
    }

    .cta {
        padding: 4rem 0;
    }

    .cta h2 {
        font-size: 1.75rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col h3:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .whatsapp-float,
    .chatbot-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .chatbot-float {
        bottom: 75px;
    }

    .chatbot-container {
        width: 100%;
        height: calc(100vh - 120px);
        max-height: none;
        right: 0;
        bottom: 70px;
        border-radius: 0;
    }

    /* Team section mobile adjustments */
    .team-card {
        width: 100%;
        max-width: 520px;
    }

    .team-content {
        text-align: center;
    }
}

/* Tablet and smaller desktop adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        width: 90%;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 8rem 0 5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-text {
        order: unset;
    }

    .about-image {
        order: unset;
    }

    .slider-container {
        height: 350px;
    }

    .ceo-container,
    .director-card,
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .business-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-status {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .chatbot-float {
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
        bottom: 85px;
    }

    .chatbot-container {
        width: 350px;
        max-width: 90vw;
        height: 520px;
        bottom: 100px;
    }

    /* Team section tablet adjustments */
    .team-card {
        width: 300px;
    }

    .team-image {
        height: 170px;
    }
}

/* Extra small devices (phones, 600px and down) */
@media (max-width: 600px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero {
        padding: 5rem 0 2.5rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .slider-container {
        height: 250px;
    }

    .slide-content h3 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .team-image {
        height: 180px;
    }

    .service-card,
    .business-service-card {
        padding: 1.75rem 1.25rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .story-image {
        height: 180px;
    }

    .video-placeholder {
        height: 280px;
    }

    .play-btn {
        font-size: 3rem;
    }

    .contact-form {
        padding: 1.75rem 1.25rem;
    }

    .form-control {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .whatsapp-float,
    .chatbot-float {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .chatbot-float {
        bottom: 70px;
    }

    .chatbot-container {
        width: 100%;
        height: 450px;
        max-height: 80vh;
        bottom: 65px;
        right: 0;
        border-radius: 0;
    }

    .chatbot-messages {
        padding: 0.875rem;
    }

    .message-avatar {
        width: 28px;
        height: 28px;
    }

    .chatbot-message p {
        font-size: 0.85rem;
    }

    .chatbot-input {
        font-size: 0.85rem;
    }

    .chatbot-send {
        padding: 0.65rem 0.875rem;
    }

    .quick-action-btn {
        font-size: 0.75rem;
    }
}

/* Small devices (phones, 480px and down) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }

    .hero {
        padding: 4rem 0 2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .hero-btns {
        max-width: 100%;
    }

    section {
        padding: 3rem 0;
    }

    .slider-container {
        height: 220px;
    }

    .slide-content h3 {
        font-size: 1.1rem;
    }

    .slide-content p {
        font-size: 0.8rem;
    }

    .team-image {
        height: 160px;
    }

    .service-card,
    .business-service-card {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        width: 55px;
        height: 55px;
    }

    .story-image {
        height: 160px;
    }

    .video-placeholder {
        height: 250px;
    }

    .play-btn {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    .footer-container {
        gap: 1.5rem;
    }

    .footer-col h3 {
        margin-bottom: 1rem;
    }

    .whatsapp-float,
    .chatbot-float {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }

    .chatbot-float {
        bottom: 65px;
    }

    .chatbot-container {
        height: 420px;
        bottom: 60px;
    }

    .chatbot-messages {
        padding: 0.75rem;
    }

    .chatbot-message p {
        font-size: 0.8rem;
    }

    .chatbot-input {
        font-size: 0.8rem;
    }

    .chatbot-send {
        padding: 0.6rem 0.8rem;
    }

    .quick-action-btn {
        font-size: 0.7rem;
    }
}

/* Landscape optimization for small devices */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .slider-container {
        height: 200px;
    }

    .chatbot-container {
        height: 80vh;
    }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .slider-container {
        height: 300px;
    }
}