/* Fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service icon hover effect */
.service-icon {
    font-size: 2.5rem;
    transition: transform 0.3s, color 0.3s;
    cursor: pointer;
}
.service-icon:hover {
    color: #e67e22;
    transform: scale(1.2) rotate(10deg);
}

/* Testimonials carousel styling */
.testimonial-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}
.testimonial {
    display: none;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 500px;
    margin-bottom: 1rem;
    text-align: center;
}
.testimonial.active {
    display: block;
}
.testimonial-prev, .testimonial-next {
    background: #e67e22;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    margin: 0 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.testimonial-prev:hover, .testimonial-next:hover {
    background: #d35400;
}

/* FAQ accordion styling */
.faq-item {
    margin-bottom: 1rem;
}
.faq-question {
    background: #e67e22;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    transition: background 0.2s;
}
.faq-question:hover {
    background: #d35400;
}
.faq-answer {
    background: #f9f9f9;
    border-radius: 5px;
    padding: 1rem;
    margin-top: 0.5rem;
    display: none;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #0a1a2e;
    color: #e0e0e0;
    line-height: 1.7;
    letter-spacing: 0.3px;
    overflow-x: hidden;
}

.hero {
    background: linear-gradient(135deg, rgba(10, 26, 46, 0.85) 0%, rgba(26, 58, 82, 0.85) 50%, rgba(10, 26, 46, 0.85) 100%), url('1.png') center/cover fixed;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(220, 53, 69, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(220, 53, 69, 0.1) 0%, transparent 50%);
    animation: floatBg 20s ease infinite;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.logo {
    width: 200px;
    height: 200px;
    margin-bottom: 1.5rem;
    animation: spinGlow 20s linear infinite;
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .logo {
        width: 140px;
        height: 140px;
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #dc3545 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(220, 53, 69, 0.3);
    animation: slideInDown 1s ease-out;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.3s backwards;
    font-weight: 300;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    background-color: #dc3545;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes spinGlow {
    0% { transform: rotate(0deg); filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.6)); }
    100% { transform: rotate(360deg); filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.6)); }
}

.cta-button:hover {
    background-color: #c82333;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
    animation: none;
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(10, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #dc3545;
    transition: all 0.3s ease;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #dc3545;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    background-color: rgba(220, 53, 69, 0.2);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #0f2a48;
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.15);
    border-radius: 10px;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
    border-top: 4px solid #dc3545;
}

section {
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.5s ease;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #ffffff;
    border-bottom: 3px solid #dc3545;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: linear-gradient(135deg, #1a3a52 0%, #0f2a48 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.2), transparent);
    transition: left 0.5s;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(220, 53, 69, 0.3);
    border-left-color: #ff6b6b;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-item h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

blockquote {
    background: linear-gradient(135deg, #1a3a52 0%, #0f2a48 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    font-style: italic;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    color: #e0e0e0;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #dc3545;
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.2;
}

cite {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: #ffffff;
    text-align: right;
}

.contact-info {
    background: linear-gradient(135deg, #1a3a52 0%, #0f2a48 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    border: 2px solid #dc3545;
    color: #e0e0e0;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

form label {
    grid-column: 1 / -1;
    margin-top: 1rem;
    font-weight: bold;
    color: #ffffff;
}

form input, form textarea {
    padding: 0.75rem;
    border: 2px solid #1a3a52;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #0a1a2e;
    color: #e0e0e0;
}

form input:focus, form textarea:focus {
    border-color: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
    background: #0f2a48;
}

form textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 100px;
}

button {
    grid-column: 1 / -1;
    margin-top: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

button:hover {
    background: linear-gradient(135deg, #c82333 0%, #a01f2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
}

footer {
    background: linear-gradient(135deg, #0a1a2e 0%, #1a3a52 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #dc3545;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23FFFFFF"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23FFFFFF"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23FFFFFF"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.1;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,0 61,35 100,35 68,57 79,91 50,70 21,91 32,57 0,35 39,35" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    nav ul {
        flex-direction: column;
    }
    nav a {
        padding: 0.75rem 1rem;
    }
    .services-grid, .testimonials {
        grid-template-columns: 1fr;
    }
    form {
        grid-template-columns: 1fr;
    }
    form label {
        grid-column: 1;
    }
    button {
        grid-column: 1;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}