/* Global Styles */
@import url(\'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap\');

:root {
    --primary-bg: #1a1a2e;
    --secondary-bg: #16213e;
    --accent-blue: #0f3460;
    --accent-purple: #533483;
    --accent-cyan: #e94560;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --link-color: #e94560;
    --hover-color: #e0e0e0;
}

body {
    font-family: \'Inter\', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

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

.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    color: var(--heading-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.section-heading {
    font-size: 2.5em;
    margin-bottom: 1em;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.section-heading::after {
    content: \'\';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-heading {
        font-size: 2em;
    }
}

/* Header Styles */
.main-header {
    background-color: var(--secondary-bg);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.logo a {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--heading-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 400;
    font-size: 1.1em;
    position: relative;
    padding-bottom: 5px;
}

.main-nav ul li a::after {
    content: ‘’;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-cyan);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--heading-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Footer Styles */
.main-footer {
    background-color: var(--secondary-bg);
    color: var(--text-color);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.main-footer h3 {
    color: var(--heading-color);
    font-size: 1.4em;
    margin-bottom: 20px;
}

.main-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer ul li {
    margin-bottom: 10px;
}

.main-footer ul li a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.main-footer ul li a:hover {
    color: var(--accent-cyan);
}

.main-footer .newsletter input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    margin-bottom: 10px;
}

.main-footer .newsletter input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.main-footer .newsletter .btn {
    width: 100%;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

/* Responsive adjustments for Header and Footer */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        background-color: var(--secondary-bg);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-footer .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .main-footer .newsletter input[type="email"] {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--heading-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: 
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(var(--accent-blue), 0.3);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero::after {
    content: 
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(var(--accent-purple), 0.3);
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

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

.bg-accent-gradient {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    color: var(--heading-color);
}

/* Services Overview */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.service-item h3 {
    color: var(--accent-cyan);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1em;
    color: var(--text-color);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.stat-item {
    background-color: var(--primary-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3em;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2em;
    color: var(--heading-color);
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-style: italic;
}

.testimonial-item p {
    margin-bottom: 15px;
}

.testimonial-item .client-name {
    font-weight: 600;
    color: var(--accent-cyan);
    text-align: right;
}

/* CTA Section */
.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments for Home page sections */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .service-grid, .stats-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5em;
    }

    .cta-section h2 {
        font-size: 2em;
    }
}

/* Hero Small (for inner pages) */
.hero-small {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--heading-color);
    position: relative;
    overflow: hidden;
}

.hero-small h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

.hero-small p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Services Detail Page */
.service-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    color: var(--accent-cyan);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1em;
    color: var(--text-color);
    flex-grow: 1;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: var(--secondary-bg);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid var(--accent-cyan);
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured:hover {
    transform: translateY(-5px) scale(1.03);
}

.pricing-card h3 {
    font-size: 2em;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 3.5em;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.pricing-card .price sup {
    font-size: 0.5em;
    vertical-align: super;
}

.pricing-card .price span {
    font-size: 0.4em;
    font-weight: 400;
    color: var(--text-color);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--text-color);
}

.pricing-card .btn {
    margin-top: auto; /* Pushes the button to the bottom */
}

/* Responsive adjustments for inner pages */
@media (max-width: 768px) {
    .hero-small h1 {
        font-size: 2em;
    }

    .hero-small p {
        font-size: 0.9em;
    }

    .service-grid-detail, .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px) scale(1);
    }
}

/* About Page */
.about-story p {
    margin-bottom: 1em;
    font-size: 1.1em;
}

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

.mission-item {
    background-color: var(--primary-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mission-item h3 {
    color: var(--accent-cyan);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.team-member {
    text-align: center;
    margin-top: 40px;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--accent-cyan);
}

.team-member h3 {
    font-size: 1.8em;
    margin-bottom: 5px;
}

.team-member .team-title {
    color: var(--text-color);
    font-weight: 300;
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.social-links-contact a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.1em;
    color: var(--accent-cyan);
}

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

.contact-form h3 {
    color: var(--heading-color);
    font-size: 1.8em;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--heading-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1em;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group textarea {
    resize: vertical;
}

.map-placeholder {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-placeholder iframe {
    display: block;
}

/* Case Studies Page */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-study-card {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.case-study-card h3 {
    color: var(--accent-cyan);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.case-study-card .case-study-description {
    font-size: 1em;
    color: var(--text-color);
    margin-bottom: 20px;
}

.btn-small {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--heading-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.btn-small:hover {
    background-color: var(--accent-purple);
}

/* Responsive adjustments for About, Contact, Case Studies */
@media (max-width: 768px) {
    .mission-vision-grid, .contact-grid, .case-study-grid {
        grid-template-columns: 1fr;
    }

    .team-member {
        padding: 0 20px;
    }

    .contact-info, .contact-form {
        padding: 20px;
    }
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}
