* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-popup.show {
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: left;
}

.cookie-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.cookie-content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.cookie-content ul {
    list-style: none;
    margin: 15px 0;
}

.cookie-content li {
    color: #666;
    margin: 5px 0;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.cookie-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.cookie-btn.accept {
    background: #b71c1c;
    color: white;
}

.cookie-btn.accept:hover {
    background: #8e0000;
}

.cookie-btn.functional {
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
}

.cookie-btn.functional:hover {
    border-color: #333;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 30px;
    width: 30px;
    filter: brightness(0) invert(1);
}

.brand-text {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ccc;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('./assets/bg.jpg') center/cover;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
}

.cta-button {
    background: #b71c1c;
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
    background: #8e0000;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2a2a2a;
    color: white;
    padding: 50px 0 30px;
    border-top: 1px solid #404040;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-contact {
    flex: 1;
}

.footer-contact p {
    margin: 8px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact .icon {
    width: 16px;
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    text-align: center;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-copyright {
    flex: 1;
    text-align: right;
}

.footer-copyright p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(42, 42, 42, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-row,
    .protection-row,
    .portfolio-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-row.reverse .service-content,
    .service-row.reverse .service-image {
        order: initial;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .cookie-content {
        padding: 30px;
        margin: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .service-content h2,
    .protection-content h2,
    .portfolio-content h2,
    .contact-content h2,
    .faq h2,
    .education h2 {
        font-size: 1.6rem;
    }
    
    .cookie-content {
        padding: 20px;
    }
    
    .service-row,
    .protection-row,
    .portfolio-row {
        padding: 0 15px;
        gap: 30px;
    }
    
    .education-card {
        padding: 30px 20px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .nav-brand {
        gap: 8px;
    }
    
    .brand-text {
        font-size: 18px;
    }
}

/* Additional animations */
.service-row,
.protection-row,
.portfolio-row,
.education-card,
.faq-item {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Hover effects */
.education-card:hover,
.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Focus states for accessibility */
.nav-link:focus,
.education-btn:focus,
.protection-btn:focus,
.cta-button:focus,
.submit-btn:focus,
.cookie-btn:focus {
    outline: 2px solid #b71c1c;
    outline-offset: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 2px rgba(183, 28, 28, 0.3);
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea {
    transition: all 0.3s ease;
}

/* Text selection styling */
::selection {
    background: #b71c1c;
    color: white;
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #b71c1c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8e0000;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.service-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-row.reverse .service-content {
    order: 2;
}

.service-row.reverse .service-image {
    order: 1;
}

.service-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
}

.service-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Education Section */
.education {
    padding: 80px 0;
    background: white;
}

.education h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.education p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 50px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.education-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.education-btn {
    background: #b71c1c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.education-btn:hover {
    background: #8e0000;
}

/* Investment Protection Section */
.investment-protection {
    padding: 80px 0;
    background: white;
}

.protection-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.protection-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
}

.protection-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.protection-btn {
    background: #b71c1c;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: 15px;
}

.protection-btn:hover {
    background: #8e0000;
    transform: translateY(-2px);
}

.protection-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: #f8f9fa;
}

.portfolio-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
}

.portfolio-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.portfolio-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #333;
}

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: none;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #2a2a2a;
    color: white;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-content p {
    font-size: 1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: #404040;
    color: white;
    border: 1px solid #555;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b71c1c;
    background: #4a4a4a;
}

.submit-btn {
    background: #b71c1c;
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #8e0000;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2a2a2a;
    color: white;
    padding: 50px 0 30px;
    border-top: 1px solid #404040;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-contact {
    flex: 1;
}

.footer-contact p {
    margin: 8px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact .icon {
    width: 16px;
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    text-align: center;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-copyright {
    flex: 1;
    text-align: right;
}

.footer-copyright p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(42, 42, 42, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-row,
    .protection-row,
    .portfolio-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-row.reverse .service-content,
    .service-row.reverse .service-image {
        order: initial;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .cookie-content {
        padding: 30px;
        margin: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .service-content h2,
    .protection-content h2,
    .portfolio-content h2,
    .contact-content h2,
    .faq h2,
    .education h2 {
        font-size: 1.6rem;
    }
    
    .cookie-content {
        padding: 20px;
    }
    
    .service-row,
    .protection-row,
    .portfolio-row {
        padding: 0 15px;
        gap: 30px;
    }
    
    .education-card {
        padding: 30px 20px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .nav-brand {
        gap: 8px;
    }
    
    .brand-text {
        font-size: 18px;
    }
}

/* Additional animations */
.service-row,
.protection-row,
.portfolio-row,
.education-card,
.faq-item {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Hover effects */
.education-card:hover,
.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Focus states for accessibility */
.nav-link:focus,
.education-btn:focus,
.protection-btn:focus,
.cta-button:focus,
.submit-btn:focus,
.cookie-btn:focus {
    outline: 2px solid #b71c1c;
    outline-offset: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 2px rgba(183, 28, 28, 0.3);
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea {
    transition: all 0.3s ease;
}

/* Text selection styling */
::selection {
    background: #b71c1c;
    color: white;
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #b71c1c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8e0000;
}