/* Base Styles */
:root {
    --primary-dark: #0b2545;
    --primary: #13315c;
    --primary-light: #134074;
    --secondary: #8da9c4;
    --light: #eef4ed;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-light);
}

/* Navigation */
.navbar {
    background-color: var(--primary-dark);
    color: var(--light);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(11, 37, 69, 0.9), rgba(19, 49, 92, 0.8)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
    color: var(--light);
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Apply animations to elements */
.revealed {
    animation: fadeIn 1s ease forwards;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideInLeft 1.2s ease forwards 0.3s;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInRight 1.2s ease forwards 0.6s;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary-dark);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.9s;
}

.cta-button:hover {
    background-color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
}

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

.service-card:nth-child(1) { animation: fadeIn 0.6s ease forwards 0.3s; }
.service-card:nth-child(2) { animation: fadeIn 0.6s ease forwards 0.5s; }
.service-card:nth-child(3) { animation: fadeIn 0.6s ease forwards 0.7s; }
.service-card:nth-child(4) { animation: fadeIn 0.6s ease forwards 0.9s; }

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--primary-dark);
    color: var(--light);
}

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

.about .section-title::after {
    background-color: var(--secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Tech Stack Section */
.tech-stack {
    padding: 100px 0;
    background-color: white;
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

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

.tech-item i {
    font-size: 3rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.tech-item:hover i {
    transform: rotate(20deg);
}

.tech-item:hover {
    transform: scale(1.1);
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: rgb(255, 255, 255);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.team-member:nth-child(1) { animation-delay: 0.2s; }
.team-member:nth-child(2) { animation-delay: 0.4s; }
.team-member:nth-child(3) { animation-delay: 0.6s; }
.team-member:nth-child(4) { animation-delay: 0.8s; }
.team-member:nth-child(5) { animation-delay: 1.0s; }

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.team-member:hover .member-image {
    transform: scale(1.05) rotate(3deg);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.member-title {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-bio {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

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

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

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

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

.social-icon:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(19, 64, 116, 0.2);
}

.submit-button {
    background-color: var(--primary-light);
    color: var(--light);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--primary-dark);
}

.submit-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.submit-button:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Page loading animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s linear infinite;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--light);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        gap: 20px;
    }
    
    .tech-item i {
        font-size: 2.5rem;
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    color: var(--light);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 2rem;
    color: var(--primary);
}

/* Service Features */
.service-features {
    list-style: none;
    margin: 15px 0;
    text-align: left;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-light);
    font-weight: 500;
    transition: var(--transition);
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link:hover i {
    transform: translateX(3px);
}

/* About Values */
.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
   
    padding: 10px 15px;
    border-radius: 5px;
}

.value-item i {
    color: var(--secondary);
}

/* Industry Expertise */
.expertise {
    padding: 100px 0;
    background-color: var(--light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    background-color: white;
    padding: 30

}
.author-info h4 {
    margin-bottom: 0;
    color: var(--primary-dark);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    opacity: 1;
}
/* Case Studies Section */
.case-studies {
    padding: 100px 0;
    background-color: var(--light);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.case-study-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.case-study-card:nth-child(1) { animation: fadeIn 0.8s ease forwards 0.3s; }
.case-study-card:nth-child(2) { animation: fadeIn 0.8s ease forwards 0.6s; }
.case-study-card:nth-child(3) { animation: fadeIn 0.8s ease forwards 0.9s; }

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

.case-study-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.case-study-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.2) 100%);
    transition: var(--transition);
}

.case-study-card:hover .case-study-image::after {
    background: linear-gradient(to bottom, rgba(19, 49, 92, 0.1) 70%, rgba(19, 49, 92, 0.3) 100%);
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 25px;
}

.case-study-content h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.case-study-category {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.case-study-results {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 15px;
}

.result-item {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    background-color: var(--light);
    border-radius: 8px;
    transition: var(--transition);
}

.case-study-card:hover .result-item {
    background-color: rgba(141, 169, 196, 0.2);
}

.result-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.result-text {
    font-size: 0.8rem;
    color: #555;
}

.case-study-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-top: 10px;
    transition: var(--transition);
}

.case-study-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.case-study-link:hover {
    color: var(--primary-dark);
}

.case-study-link:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments for case studies */
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-results {
        flex-direction: column;
        gap: 10px;
    }
}
