/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c63ff;
    --primary-dark: #554fd8;
    --secondary: #ff6b6b;
    --accent: #4ecdc4;
    --dark: #2d3436;
    --light: #f8f9fa;
    --gray: #636e72;
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), #ff8e8e);
    --shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
    --shadow-lg: 0 20px 50px rgba(108, 99, 255, 0.3);
    --radius: 15px;
    --radius-lg: 25px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-login {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-download {
    background: linear-gradient(135deg, #4285F4, #0F9D58);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: var(--radius);
    font-size: 1.2rem;
    margin: 2rem 0;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.btn-download i {
    font-size: 2.5rem;
}

.btn-download div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-download span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn-download strong {
    font-size: 1.4rem;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    padding: 0;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: var(--dark) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    background-color: #fff;
    padding: 20px 10px 10px 10px;
    border-radius: 0 0 10px 10px;
}

.navbar-brand img {
    max-width: 70px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.navbar.scrolled .nav-link {
    color: var(--dark) !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://emisafepro.com/assets/img/bg/mainbg.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--secondary), #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-phone {
    position: relative;
    text-align: center;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: white;
    border-radius: 40px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.floating-badge {
    position: absolute;
    top: 50px;
    right: -20px;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow);
    animation: bounce 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light);
}

.about-image {
    position: relative;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    /* box-shadow: var(--shadow); */
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.features-container {
    position: relative;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.feature-item p{
    margin-bottom: 0;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.feature-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(108, 99, 255, 0.1);
    line-height: 1;
}

.feature-phone {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.feature-phone img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    /* box-shadow: var(--shadow-lg); */
}

/* More Features */
.more-features {
    padding: 100px 0;
    background: var(--light);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* App Screens */
.app-screens {
    padding: 100px 0;
    background: white;
}

.screens-slider {
    padding: 2rem 0;
}

.swiper-container {
    padding: 2rem 0;
}

.screen-card {
    background: white;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius) - 10px);
}

.screen-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.download-stats .stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.download-stats .stat i {
    font-size: 1.5rem;
    color: var(--accent);
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--light);
}

.team-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    transform: translateY(0);
    opacity: 1;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.team-info p {
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-role {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--gradient);
}

.stat-card {
    text-align: center;
    color: white;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.stat-card h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius);
    /* box-shadow: var(--shadow); */
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    /* box-shadow: var(--shadow-lg); */
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
    color: var(--dark);
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Video Demo */
.video-demo {
    padding: 100px 0;
    background: var(--light);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-text p {
    color: var(--gray);
}

.contact-map {
    margin-top: 3rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.contact-form {
    background: var(--light);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

textarea.form-control {
    border-radius: var(--radius);
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--dark);
    color: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand img{
    max-width: 100px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hero .btn-outline {
    color: #fff;
    border-color: #fff;
}
.about-content {
    padding-left: 50px;
}

.feature-item h4 {
    font-size: 18px;
}

.feature-item p {
    font-size: 15px;
    line-height: 22px;
}

.feature-item {
    margin-bottom: 25px;
}

.app-screens .owl-stage-outer {
    padding: 20px 0;
}
.testimonial-author img {
    width: auto !important;
}








/* Responsive Design */

@media (max-width: 991px){
    .navbar-collapse {
        background: #6e65c0;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        padding: 10px 10px 20px;
    }
    .container{padding: 0 15px;}
    .navbar-brand{padding: 10px;}
    .page-wrapper{overflow: hidden;}
    .navbar-brand {
        border-radius: 0;
    }
    .navbar.scrolled {
        background: #6d5db6;
        padding: 0;
    }
    .row{gap: 30px;}
    .about-content{padding-left: 10px;}
    
    .navbar.scrolled {
        padding-bottom: 0;
    }
    .team-card{margin-bottom: 0;}
    .hero-subtitle {
        font-size: 18px;
        line-height: 26px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .phone-frame {
        width: 280px;
        height: 560px;
    }
    
    .floating-badge {
        right: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand span {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .btn-download {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-download i {
        font-size: 2rem;
    }
    
    .btn-download strong {
        font-size: 1.1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}