/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(13, 27, 42, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.logo-img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff !important;
}

.brand-text {
    color: #fff;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #e74c3c;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.85), rgba(231, 76, 60, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1.2s ease-in;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1.4s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Buttons */
.btn-primary {
    background-color: #e74c3c;
    border-color: #e74c3c;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #e74c3c !important;
    transform: translateY(-2px);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 15px;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.about-image-wrapper img {
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-content h3 {
    color: #0d1b2a;
    font-weight: 700;
    font-size: 1.8rem;
}

.feature-box {
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature-box h5 {
    font-weight: 600;
    color: #0d1b2a;
    margin-bottom: 10px;
}

/* Service Cards */
.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-card h4 {
    font-weight: 600;
    color: #0d1b2a;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Advantage Cards */
.advantage-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(231, 76, 60, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
}

.advantage-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.advantage-card h5 {
    font-weight: 600;
    color: #0d1b2a;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Info Cards */
.contact-info-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2);
}

.contact-info-card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.contact-info-card h5 {
    font-weight: 600;
    color: #0d1b2a;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: #666;
    line-height: 1.8;
}

.contact-info-card a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: #c0392b;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-control {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0d1b2a, #1a2332);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-widget h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-widget p {
    line-height: 1.8;
}

.footer-info {
    list-style: none;
    padding: 0;
}

.footer-info li {
    padding: 8px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
}

.footer-info li i {
    color: #e74c3c;
    margin-right: 10px;
    margin-top: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    padding: 8px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #e74c3c;
    transform: translateY(-3px);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: #c0392b;
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(13, 27, 42, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .brand-text {
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}
