/* css/style.css */

/* Base Styles & Variables */
:root {
    --primary-color: #1a3a5f;
    --secondary-color: #00b4d8;
    --accent-color: #ff6b6b;
    --success-color: #06d6a0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --text-light: #6c757d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --max-width: 1300px;
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography with Animation */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShine 3s ease-in-out infinite alternate;
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    animation: fadeInUp 1s ease-out;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 5px;
    animation: expandWidth 1.5s ease-out 0.5s forwards;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes expandWidth {
    to {
        transform: scaleX(1);
    }
}

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

h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%) scaleX(0);
}

.section-title h2.animated::after {
    animation: expandWidthCenter 1.5s ease-out 0.5s forwards;
}

@keyframes expandWidthCenter {
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Enhanced Buttons with Animation */
.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
    }
    50% {
        box-shadow: 0 5px 25px rgba(0, 180, 216, 0.6);
    }
    100% {
        box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.4);
    animation: none;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
    animation: pulse-secondary 2s infinite;
}

@keyframes pulse-secondary {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 180, 216, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

.btn-secondary::before {
    background: var(--secondary-color);
}

.btn-secondary:hover {
    color: white;
}

/* Header & Navigation with Animation */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.logo-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-right: 10px;
    animation: rotateIn 1.5s ease-out;
}

@keyframes rotateIn {
    from {
        transform: rotate(-180deg) scale(0);
        opacity: 0;
    }
    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

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

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

.nav-links li {
    margin-left: 2.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.5s ease-out forwards;
}

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

.nav-links li:nth-child(1) { animation-delay: 0.2s; }
.nav-links li:nth-child(2) { animation-delay: 0.4s; }
.nav-links li:nth-child(3) { animation-delay: 0.6s; }
.nav-links li:nth-child(4) { animation-delay: 0.8s; }

.nav-links a {
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.hamburger:hover {
    transform: rotate(90deg);
    color: var(--secondary-color);
}

/* Hero Section with Enhanced Animation */
.hero {
    padding: 200px 0 120px;
    background: linear-gradient(rgba(26, 58, 95, 0.9), rgba(26, 58, 95, 0.95)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.2);
    top: -150px;
    right: -150px;
    animation: pulseCircle 4s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.15);
    bottom: -100px;
    left: -100px;
    animation: pulseCircle 3s infinite alternate-reverse;
}

@keyframes pulseCircle {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.8rem;
    background: linear-gradient(90deg, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.5s ease-out 0.5s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1.5s ease-out 1s both;
}

/* Floating elements in hero */
.floating-element {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

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

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 40%;
    right: 15%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

/* Stats Counter */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #0a2647);
    color: white;
    padding: 100px 0;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    opacity: 0.1;
    animation: floatBackground 20s linear infinite;
}

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

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 30px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    transform: translateY(50px);
    opacity: 0;
}

.stat-item.animated {
    animation: statItemAppear 0.8s ease-out forwards;
}

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

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
section {
    padding: 120px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-light {
    background-color: var(--light-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
}

.about-img {
    position: relative;
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.8s ease;
}

.about-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-img-main {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: translateZ(0);
}

.about-img:hover .about-img-main {
    transform: translateZ(20px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    z-index: 3;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.experience-years {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.experience-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.profeatures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.profeature {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: translateX(-20px);
    opacity: 0;
}

.profeature.animated {
    animation: slideInRight 0.6s ease-out forwards;
}

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

.profeature:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.profeature:hover .feature-icon {
    transform: rotate(15deg) scale(1.2);
}

.feature-text h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    transform: translateY(50px);
    opacity: 0;
}

.service-card.animated {
    animation: cardAppear 0.8s ease-out forwards;
}

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

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-hover);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--secondary-color);
    background-color: rgba(0, 180, 216, 0.1);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: rgba(0, 180, 216, 0.2);
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover .service-content h3 {
    color: var(--secondary-color);
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
    transition: var(--transition);
    transform: translateX(-10px);
    opacity: 0;
    color: var(--text-light);
}

.service-card:hover .service-list li {
    transform: translateX(0);
    opacity: 1;
}

.service-list li:nth-child(1) { transition-delay: 0.1s; }
.service-list li:nth-child(2) { transition-delay: 0.2s; }
.service-list li:nth-child(3) { transition-delay: 0.3s; }
.service-list li:nth-child(4) { transition-delay: 0.4s; }
.service-list li:nth-child(5) { transition-delay: 0.5s; }
.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.service-card:hover .service-list li::before {
    transform: scale(1);
}

/* Technologies Section */
.tech-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    text-align: center;
}

.tech-item {
    padding: 25px 15px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: scale(0);
}

.tech-item.animated {
    animation: techItemAppear 0.5s ease-out forwards;
}

@keyframes techItemAppear {
    to {
        transform: scale(1);
    }
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: var(--shadow-hover);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.tech-item:hover .tech-icon {
    color: var(--secondary-color);
    transform: rotateY(180deg);
}

.tech-name {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Portfolio/Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: perspective(1000px) rotateX(10deg);
    transform-origin: center bottom;
}

.project-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.project-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.project-card:hover .project-img::before {
    opacity: 1;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-content {
    padding: 25px;
    transform: translateY(0);
    transition: var(--transition);
}

.project-card:hover .project-content {
    transform: translateY(-5px);
}

.project-content h3 {
    margin-bottom: 0.8rem;
}

.project-category {
    display: inline-block;
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.project-card:hover .project-category {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.05);
}

/* Testimonials */
.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 20px;
    transform: perspective(1000px) rotateY(10deg);
    transition: transform 0.8s ease;
}

.testimonial-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 5rem;
    color: rgba(0, 180, 216, 0.2);
    position: absolute;
    top: -30px;
    left: -10px;
    font-family: Georgia, serif;
    animation: quoteFloat 4s ease-in-out infinite;
}

@keyframes quoteFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.client-info {
    display: flex;
    align-items: center;
}

/* SECTION */
.section-light {
    padding: 80px 0;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
}

/* TESTIMONIAL CARD */
.testimonials-container {
    display: flex;
    justify-content: center;
}

.testimonial-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    max-width: 900px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* CLIENT INFO */
.client-info {
    display: flex;
    align-items: center;
}

/* FIXED AVATAR */
.client-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    border: 3px solid var(--secondary-color);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.6s ease;
}

.client-img i {
    font-size: 64px;
    color: var(--secondary-color);
    line-height: 1;
    transition: 0.4s ease;
}

/* HOVER EFFECTS */
.testimonial-card:hover .client-img {
    border-color: var(--accent-color);
    transform: rotate(360deg);
}

.testimonial-card:hover .client-img i {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* CLIENT DETAILS */
.client-details h4 {
    font-size: 18px;
    margin: 0 0 5px;
    font-weight: 600;
}

.client-company {
    color: #00aaff;
    font-size: 15px;
    font-weight: 500;
}


/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 25px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: translateX(-30px);
    opacity: 0;
}

.contact-item.animated {
    animation: slideInLeft 0.6s ease-out forwards;
}

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

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

.contact-item:hover {
    transform: translateX(10px) translateY(-5px);
}

.contact-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-size: 1.5rem;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.8rem;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
}

.contact-form .form-group.animated {
    animation: formGroupAppear 0.5s ease-out forwards;
}

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

.contact-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.contact-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.contact-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.contact-form .form-group:nth-child(4) { animation-delay: 0.4s; }
.contact-form .form-group:nth-child(5) { animation-delay: 0.5s; }
.contact-form .form-group:nth-child(6) { animation-delay: 0.6s; }

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
    transform: translateY(-3px);
}

.contact-form textarea {
    height: 180px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: footerFloat 20s linear infinite;
}

@keyframes footerFloat {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.8rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    animation: expandWidth 2s ease-in-out infinite alternate;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
    transform: translateX(-10px);
    opacity: 0;
}

.footer-links li.animated {
    animation: footerLinkAppear 0.5s ease-out forwards;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
    transform: scale(0);
}

.social-icons a.animated {
    animation: socialIconAppear 0.5s ease-out forwards;
}

@keyframes socialIconAppear {
    to {
        transform: scale(1);
    }
}

.social-icons a:nth-child(1) { animation-delay: 0.1s; }
.social-icons a:nth-child(2) { animation-delay: 0.2s; }
.social-icons a:nth-child(3) { animation-delay: 0.3s; }
.social-icons a:nth-child(4) { animation-delay: 0.4s; }
.social-icons a:nth-child(5) { animation-delay: 0.5s; }

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: scale(0);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.back-to-top:hover {
    transform: scale(1.1) rotate(180deg);
}

/* Page Hero (for inner pages) */
.page-hero {
    padding: 180px 0 80px;
    background: linear-gradient(rgba(26, 58, 95, 0.9), rgba(26, 58, 95, 0.95)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

/* Service Detail Page */
.service-detail {
    padding: 100px 0;
}

.service-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.service-benefits {
    margin: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Process Section */
.process-section {
    background-color: var(--light-color);
    padding: 100px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    /* background-color: var(--secondary-color); */
    transform: translateY(-50%);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
}

/* Team Section */
.team-section {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.member-img {
    height: 250px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.member-info {
    padding: 25px;
    text-align: center;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.member-social a {
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-color);
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

/* Contact Map */
.contact-map {
    height: 400px;
    background-color: #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 4rem;
}


/* Add these styles to your existing css/style.css file */

/* Service Detail Page Specific Styles */
.services-section {
    padding: 100px 0;
}

.servicedetail {
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid #eee;
}

.servicedetail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.service-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-features {
    background-color: rgba(0, 180, 216, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.service-features h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-features .serviceslist {
    list-style: none;
    margin: 0;
}

.service-features .serviceslist li {
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
    color: var(--primary-color);
}

.service-features .serviceslist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.service-benefits {
    margin-top: 3rem;
}

.service-benefits h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.benefit-item h4 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

/* Process Section */
.process-section {
    background-color: var(--light-color);
    padding: 100px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: translateY(-50%);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
    padding: 0 10px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-color);
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    color: var(--primary-color);
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-question i {
    transition: var(--transition);
    color: var(--secondary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}


/* Services Preview Section Styles - Unique Class Names */
.services-preview-section {
    padding: 100px 0;
}

.preview-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.preview-service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-service-card.animated {
    animation: cardAppear 0.8s ease-out forwards;
}

.preview-service-card:nth-child(1) { animation-delay: 0.1s; }
.preview-service-card:nth-child(2) { animation-delay: 0.2s; }
.preview-service-card:nth-child(3) { animation-delay: 0.3s; }

.preview-service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-hover);
}

.preview-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.preview-service-card:hover::before {
    transform: scaleX(1);
}

.preview-service-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--secondary-color);
    background-color: rgba(0, 180, 216, 0.1);
    transition: var(--transition);
}

.preview-service-card:hover .preview-service-icon {
    background-color: rgba(0, 180, 216, 0.2);
    transform: scale(1.1);
}

.preview-service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.preview-service-content h3 {
    margin-bottom: 1rem;
    transition: var(--transition);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.preview-service-card:hover .preview-service-content h3 {
    color: var(--secondary-color);
}

.preview-service-list {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.preview-service-list li {
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
    transition: var(--transition);
    transform: translateX(-10px);
    opacity: 0;
    color: var(--text-light);
}

.preview-service-card:hover .preview-service-list li {
    transform: translateX(0);
    opacity: 1;
}

.preview-service-list li:nth-child(1) { transition-delay: 0.1s; }
.preview-service-list li:nth-child(2) { transition-delay: 0.2s; }
.preview-service-list li:nth-child(3) { transition-delay: 0.3s; }

.preview-service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.preview-service-card:hover .preview-service-list li::before {
    transform: scale(1);
}

.preview-service-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Responsive adjustments for preview services */
@media (max-width: 992px) {
    .preview-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .preview-services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-preview-section {
        padding: 80px 0;
    }
}

/* Responsive Design for Service Detail Page */
@media (max-width: 992px) {
    .service-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-direction: column;
        gap: 3rem;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail {
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .service-features {
        padding: 20px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1.1rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .about-content,
    .contact-container,
    .service-overview {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .projects-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profeatures {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-direction: column;
        gap: 3rem;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hero, .page-hero {
        padding: 180px 0 100px;
        text-align: center;
    }
    
    .hero h1, .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .services-grid,
    .projects-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero p, .page-hero p {
        font-size: 1.1rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        width: 100%;
    }
}