/* Scribio Minimal Styles */

/* Root Variables */
:root {
    --primary-color: #ef524e;
    --primary-hover: #dd150e;
    --secondary-color: #05062b;
    --text-color: #3c4b62;
    --heading-color: #223645;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --border-color: #e2e2e2;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Adamina', serif;
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
}
li{
    list-style: none;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 17px 30px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
}

/* Section Styles */
.section-divider {
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title {
    font-size: 25px;
    margin-bottom:2px;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.py-5 {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-header {
    background-color: var(--secondary-color);
    padding: 5px 0;
}

.top-header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-contact ul,
.social-profile ul,
.main-navigation .menu,
.footer-widget ul,
.contact-info {
    list-style: none;
    display: flex;
    gap: 1px;
    margin: 0;
    padding: 0;
    align-items: start;
}

.header-social {
    text-align: right;
}

.social-profile {
    display: flex;
    justify-content: flex-end;
}

.social-profile ul {
    flex-direction: row !important;
}

.header-contact ul li,
.header-contact ul li a {
    color: var(--white);
    font-size: 14px;
}

.header-contact ul li i {
    margin-right: 8px;
}

.social-profile ul li a {
    color: var(--white);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-profile ul li a:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}

/* Fix for social icons layout */
.social-profile ul li {
    display: inline-block;
    margin: 0;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 4px;
    float: right;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation menu */
.main-navigation {
    display: block;
}

.main-navigation ul.menu {
    display: flex;
    list-style: none;
}

/* Ensure header elements are visible */
.header-contact,
.header-social,
.site-branding,
.main-navigation {
    display: block;
    visibility: visible;
}

.bottom-header {
    background-color: var(--secondary-color);
    padding: 15px 0;
}

.bottom-header .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    text-align: left;
}

.main-navigation {
    text-align: right;
}

.site-branding .site-title {
    font-size: 32px;
    margin: 0;
}

.site-branding .site-title a {
    color: var(--white);
}

.site-branding .site-description {
    color: #e6e6e6;
    font-size: 14px;
    margin: 0;
}

.main-navigation {
    display: block;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.main-navigation ul li {
    display: inline-block;
}

.main-navigation ul li a {
    color: var(--white);
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
    color: var(--primary-hover);
}

/* Main Content */
.site-main {
    margin-top: 120px; /* Account for fixed header */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a2e 100%);
    color: var(--white);
    padding: 10px 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-content {
    padding-right: 30px;
}

.hero-title {
    font-size: 55px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #dddddd;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-images {
    position: relative;
}

.hero-image-main img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}

/* Services Section */
.services-section {
    background-color: var(--white);
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid rgba(239, 82, 78, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card.featured {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card.featured .service-title,
.service-card.featured .service-description {
    color: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(239, 82, 78, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-card.featured .service-icon {
    background-color: rgba(255,255,255,0.2);
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.service-card.featured .service-icon i {
    color: var(--white);
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-description {
    font-size: 16px;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background-color: var(--light-bg);
}

.about-features {
    list-style: none;
    margin: 5px 0;
    padding: 0;
}

.about-features li {
    padding: 2px 0;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.about-image img {
    border-radius: 20px;
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--white);
}

.footer-widget-wrap {
    padding: 10px 0 0;
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
}

.footer-widget h4:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: var(--white);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    padding: 2px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget ul li:last-child {
    border-bottom: none;
}

.footer-widget ul li a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--primary-hover);
}

.contact-info li {
    display: flex;
    align-items: center;
}

.contact-info li i {
    margin-right: 10px;
    width: 20px;
    color: var(--primary-color);
}

.bottom-footer {
    background-color: var(--secondary-color);
    padding: 3px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.bottom-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-menu ul {
    display: flex;
    gap: 20px;
}

.footer-menu ul li {
    border: none;
    padding: 0;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

#back-to-top a {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#back-to-top a:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 35px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        flex: 1;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 0;
        position: relative;
        z-index: 2;
    }
    
    /* Use hero image as background on mobile */
    .hero-section {
        background-image: linear-gradient(rgba(5, 6, 43, 0.85), rgba(26, 26, 46, 0.85)), url('/static/landing/images/hero-image.jpg');
        background-size: cover;
        background-position: center;
    }
    
    .hero-images {
        display: none;
    }
    
    /* Hide top header on mobile */
    .top-header {
        display: none;
    }
    
    /* Hide social icons in footer on mobile */
    .footer-widget .social-profile {
        display: none;
    }
    
    /* Adjust site header */
    .site-header {
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .site-main {
        margin-top: 70px;
    }
    
    /* Bottom header mobile adjustments */
    .bottom-header {
        padding: 10px 0;
    }
    
    .bottom-header .row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .bottom-header .col-lg-3,
    .bottom-header .col-lg-9 {
        width: auto;
        flex: none;
    }
    
    .site-branding {
        text-align: left;
    }
    
    .site-branding .site-logo {
        max-height: 120px;
        width: auto;
    }
    
    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        background-color: transparent;
    }
    
    .mobile-menu-toggle span {
        background-color: var(--white);
    }
    
    /* Navigation menu mobile */
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary-color);
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
        justify-content: flex-start;
        padding: 10px 0;
    }
    
    .main-navigation ul li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    
    .main-navigation ul li:last-child {
        border-bottom: none;
    }
    
    .main-navigation ul li a {
        display: block;
        padding: 12px 20px;
    }
    
    .bottom-footer .container {
        flex-direction: column;
    
        text-align: center;
    }
    
    .footer-menu ul {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .py-5 {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
         font-size: 18px;
    }
    
    .btn {
        padding: 15px 25px;
        font-size: 14px;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-widget-wrap {
        padding: 30px 0 0;
    }
    
    #back-to-top {
        display: none;
    }
    
    /* Mobile header adjustments */
    .site-main {
        margin-top: 60px;
    }
    
    .site-branding .site-logo {
        max-height: 60px;
    }
    
    .mobile-menu-toggle {
        padding: 5px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 20px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12,
.col-md-6,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-6,
.col-lg-8,
.col-lg-9 {
    padding: 0 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
    
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}

.align-items-center {
    align-items: center;
}

.min-vh-100 {
    min-height: 100vh;
}

/* Portfolio Section */
.portfolio-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 20px;
    text-align: center;
}

.portfolio-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* Statistics Section */
.stat-card {
    padding: 30px 20px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'Adamina', serif;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
}

/* Testimonials Section */
.testimonial-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.testimonial-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.testimonial-image {
    flex-shrink: 0;
}

.testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-text h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.testimonial-text p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 15px;
}

.rating {
    margin-bottom: 15px;
}

.rating i {
    color: #ffc107;
    font-size: 14px;
    margin-right: 2px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a2e 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/2023/07/image-31.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section .section-title {
    color: var(--white);
    margin-bottom: 15px;
}

/* Button Sizes */
.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 16px;
}

/* Responsive Updates */
@media (max-width: 767px) {
    .portfolio-image {
        height: 200px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-image {
        align-self: center;
    }
    
    .cta-section .row {
        text-align: center;
    }
    
    .cta-section .col-lg-4 {
        margin-top: 20px;
    }
}
/* Notification Strip */
.notification-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.notification-strip.show {
    transform: translateY(0);
}

.notification-strip.success {
    background-color: #28a745;
}

.notification-strip.warning {
    background-color: #ffc107;
    color: var(--secondary-color);
}

.notification-strip.error {
    background-color: #dc3545;
}

.notification-strip.info {
    background-color: #17a2b8;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    gap: 15px;
}

.notification-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background-color: rgba(255,255,255,0.2);
}

.notification-strip.warning .notification-close:hover {
    background-color: rgba(0,0,0,0.1);
}

/* Adjust main content when notification is shown */
body.notification-active .site-header {
    top: 48px;
}

body.notification-active .site-main {
    margin-top: 168px;
}

@media (max-width: 767px) {
    .notification-content {
        flex-direction: row;
        text-align: left;
    }
    
    .notification-text {
        text-align: left;
    }
    
    .notification-strip {
        padding: 10px 0;
    }
    
    body.notification-active .site-header {
        top: 44px;
    }
    
    body.notification-active .site-main {
        margin-top: 164px;
    }
}