/* 
 * Edyant - Global Stylesheet
 * Contains common styles used across all pages 
 */

/* ======= RESET & BASE STYLES ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 75%;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #333333;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.2;
}

h2 {
    font-size: 1.75rem;
    font-weight: 400;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ======= BUTTONS ======= */
.btn {
    display: inline-block;
    padding: 9px 21px;
    background-color: #333333;
    color: #ffffff;
    border: none;
    font-size: 10px;
    letter-spacing: 0.75px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
}

.btn-small {
    padding: 8px 16px;
}

.btn:hover {
    background-color: #555555;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #333333;
    color: #333333;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: #f5f5f5;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-text {
    display: inline-block;
    color: #4a6fa0;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
    padding-bottom: 3px;
    font-family: 'Roboto', sans-serif;
}

.btn-text:hover {
    border-bottom-color: #4a6fa0;
}

/* ======= HEADER STYLES ======= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    padding: 0 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    color: #333333;
    text-decoration: none;
    letter-spacing: 0.75px;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
    margin-left: 22px;
}

nav ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #777777;
}

/* ======= HERO SECTION ======= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 45px;
}

.hero-content {
    width: 50%;
    padding-left: 3.75%;
    z-index: 2;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

/* ======= SECTION STYLES ======= */
.section {
    padding: 60px 0;
}

.analytics-preview {
    padding: 50px 0;
}

.section-alt {
    background-color: #f8f8f8;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #333333;
    margin-bottom: 10px;
    position: relative;
    text-align: center;
    width: auto;
}

.section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

/* ======= CARD & CONTENT BOXES ======= */
.content-box {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ======= TESTIMONIALS ======= */
.testimonials {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.testimonial-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 0;
}

.testimonial-text {
    font-size: 1.0rem;
    line-height: 1.6;
    color: #555555;
    font-style: italic;
}

.testimonial-author {
    font-family: 'Playfair Display', serif;
    font-size: 1.0rem;
    color: #333333;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #777777;
    margin-top: 2px;
}

/* ======= CAROUSEL COMPONENTS ======= */
/* Common carousel indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #777;
    transform: scale(1.2);
}

/* Testimonial Carousel */
.testimonial-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    height: 150px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.testimonial-slide {
    min-width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: #f8f8f8;
}

/* ======= CTA SECTION ======= */
.cta {
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #333333;
    font-weight: 400;
    margin-bottom: 15px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #666666;
    font-size: 1.0rem;
    line-height: 1.6;
}

/* ======= FOOTER ======= */
footer {
    background-color: #ffffff;
    padding: 50px 0 20px;
    border-top: 1px solid #eeeeee;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 35px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: #333333;
    margin-bottom: 15px;
    font-weight: 400;
}

.footer-column p {
    color: #666666;
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
    text-justify: inter-word;
}

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

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #333333;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
    color: #888888;
    font-size: 10px;
}

/* ======= UTILITY CLASSES ======= */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

/* ======= RESPONSIVE ADJUSTMENTS ======= */
@media (max-width: 992px) {
    .hero-content {
        width: 100%;
        padding: 0 5%;
        text-align: center;
    }

    .hero-image {
        width: 100%;
        opacity: 0.2;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    nav {
        margin-top: 20px;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .btn-outline {
        margin-left: 0;
    }
}