/* 
==============================================
Safiri by Citrus - Landing Page Stylesheet
==============================================

Primary Color: Deep Blue (#1A73E8) - Trust, professionalism, technology
Secondary Color: Soft Yellow (#FFC107) - Warmth, safety, education
Accent Color: Fresh Green (#4CAF50) - Sustainability, movement
Neutral: Light Gray (#F5F5F5) - Modern simplicity, balance

Typography:
- Primary Font: Montserrat - Modern, clean, highly readable sans-serif
- Secondary Font: Inter - Minimalistic and elegant for supporting text
- Optional Accent Font: Poppins - For headings while maintaining simplicity
*/

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5F5F5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #1A73E8;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: #0d5bbd;
}

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #1A73E8;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.25rem;
    position: relative;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #444;
}

.tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #4CAF50;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

/* ============= LAYOUT & CONTAINERS ============= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ============= BUTTONS ============= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn:focus {
    outline: none;
}

.btn:active::after {
    animation: ripple 0.6s ease-out;
}

.btn-primary {
    background-color: #1A73E8;
    color: white;
    border: 2px solid #1A73E8;
}

.btn-primary:hover {
    background-color: #1557b7;
    border-color: #1557b7;
}

.btn-secondary {
    background-color: transparent;
    color: #1A73E8;
    border: 2px solid #1A73E8;
}

.btn-secondary:hover {
    background-color: rgba(26, 115, 232, 0.08);
}

.btn-white {
    background-color: white;
    color: #1A73E8;
    border: 2px solid white;
}

.btn-white:hover {
    background-color: #f4f4f4;
    border-color: #f4f4f4;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Button ripple animation */
@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);
    }
}

/* ============= HEADER & NAVIGATION ============= */
header {
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    margin-right: 0.8rem;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1A73E8;
    letter-spacing: -0.5px;
}

/* Main Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    position: relative;
    padding: 0.4rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #1A73E8;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #1A73E8;
}

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

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1A73E8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #1557b7;
}

.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    display: none;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin: 1rem 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

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

.mobile-nav ul li a {
    color: #333;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    display: block;
}

.mobile-nav ul li a:hover {
    color: #1A73E8;
    padding-left: 0.5rem;
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.mobile-nav-buttons .btn {
    width: 100%;
}

/* ============= HERO SECTION ============= */
.hero {
    padding: 10rem 0 7rem;
    background: linear-gradient(135deg, #F5F5F5 0%, #E8F0FE 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    transform: scale(2);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #555;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-buttons .btn {
    min-width: 180px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============= FEATURES SECTION ============= */
.features {
    padding: 6rem 0;
    background-color: white;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFC107;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: -1;
    transition: all 0.4s ease;
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(26, 115, 232, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.8rem;
    color: #FFC107;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: #1557b7;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

/* ============= CTA SECTION ============= */
.cta-section {
    background: linear-gradient(135deg, #1A73E8 0%, #1557b7 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 80%);
    z-index: 0;
}

.cta-section h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    min-width: 180px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============= FOOTER ============= */
footer {
    background-color: #222;
    color: #f5f5f5;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1.2rem;
    width: 50px;
}

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.2rem;
}

.footer-logo p {
    color: #bbb;
    font-size: 0.95rem;
    max-width: 90%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.8rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #1A73E8;
    transform: translateY(-5px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #FFC107;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

.copyright a {
    color: #aaa;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: white;
}

/* ============= RESPONSIVE STYLES ============= */
@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
    
    .footer-content {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .container {
        max-width: 768px;
    }
    
    nav ul, .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        max-width: 576px;
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 8rem 0 5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 1.2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

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

.pulse {
    animation: pulse 2s infinite;
}

