/* Azure-inspired Color Palette */
:root {
    --primary: #0078d4;      /* Azure Blue */
    --secondary: #50e6ff;    /* Light Blue */
    --accent: #0063b1;       /* Darker Blue */
    --dark: #243a5e;         /* Navy Blue */
    --light: #f2f8fd;        /* Very Light Blue */
    --white: #ffffff;
    --grey: #f0f0f0;
    --dark-grey: #333333;
    --text: #252525;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.3);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 10%;
}

.logo h1 {
    color: var(--dark);
    font-weight: 700;
    font-size: 1.8rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 60%;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.8), rgba(36, 58, 94, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    background-color: var(--white);
    padding: 5rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Expertise Section */
.expertise {
    background-color: var(--light);
    padding: 5rem 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.expertise-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.expertise-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background-color: var(--white);
}

.project-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 10px 20px;
    margin: 0 10px;
    background: transparent;
    border: none;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.tab-btn:hover::after,
.tab-btn.active::after {
    width: 100%;
}

.tab-btn.active {
    color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-content h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.project-content p {
    flex-grow: 1;
    margin-bottom: 10px;
}

/* Project and Research Impact Tags */
.project-impact, .research-impact {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.impact-tag {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 15px;
    transition: transform 0.2s ease;
}

.impact-tag:hover {
    transform: scale(1.05);
}

/* Research Section */
.research {
    background-color: var(--light);
    padding: 5rem 0;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.research-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.research-card:hover {
    transform: translateY(-10px);
}

.research-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.research-content h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Pricing Section */
.pricing {
    background-color: var(--light);
    padding: 5rem 0;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pricing-tab-btn {
    padding: 10px 20px;
    margin: 0 10px;
    background: transparent;
    border: none;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.pricing-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.pricing-tab-btn:hover::after,
.pricing-tab-btn.active::after {
    width: 100%;
}

.pricing-tab-btn.active {
    color: var(--primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.pricing-header {
    background: var(--dark);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.pricing-header h3 {
    color: var(--white);
    margin-bottom: 0.8rem;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
}

.pricing-content {
    padding: 1.5rem;
}

.pricing-content ul {
    margin-bottom: 1.5rem;
}

.pricing-content ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-content ul li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.pricing-btn {
    display: block;
    text-align: center;
    width: 100%;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--dark-grey);
    opacity: 0.8;
}

/* Checkout Section */
.checkout {
    background-color: var(--white);
    padding: 5rem 0;
}

.checkout-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
}

.checkout-form {
    background: var(--light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.checkout-form h3,
.checkout-summary h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.checkout-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px;
}

.checkout-summary {
    background: var(--light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.summary-note {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 120, 212, 0.1);
    border-radius: 5px;
    font-size: 0.9rem;
}

.payment-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 120, 212, 0.1);
    border-radius: 5px;
}

.payment-info h4 {
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.payment-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-text {
    font-size: 1.1rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.business-hours {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.business-hours h4 {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.business-hours h4 i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.business-hours p {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.company-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--dark);
    border-radius: 5px;
    color: var(--white);
}

.company-info p {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    margin-bottom: 1rem;
}

.footer-logo p {
    font-style: italic;
}

.footer-links h3 {
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1.5s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 70%;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: calc(100vh - 70px);
        top: 70px;
        background: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li {
        opacity: 0;
    }
    
    .burger {
        display: block;
    }
    
    .contact-content, 
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        margin-top: 1rem;
    }
    
    .pricing-tabs,
    .project-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-tab-btn,
    .tab-btn {
        margin-bottom: 1rem;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
