/* Protex do Brasil - Custom Styles */

:root {
    --primary-color: #153B61;
    --primary-light: #1e4a7a;
    --primary-dark: #0f2a47;
    --secondary-color: #f8f9fa;
    --accent-color: #28a745;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Responsive Enhancements */
* {
    box-sizing: border-box;
}

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

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

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .btn, .nav-link, .card {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem;
        font-size: 1.1rem;
    }
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Header Styles */
.top-bar {
    font-size: 0.9rem;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.btn {
    color: white !important;
}

.navbar-nav .nav-link.btn:hover {
    color: white !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 8px;
}

/* Hero Carousel Styles */
.hero-section {
    position: relative;
    overflow: hidden;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    opacity: 0;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(21, 59, 97, 0.7), rgba(44, 95, 138, 0.5));
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 3;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(21, 59, 97, 0.8), rgba(21, 59, 97, 0.4));
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9) 0%, rgba(42, 82, 152, 0.9) 100%), url('../images/industrial-stats.jpg') center/cover no-repeat;
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8) 0%, rgba(42, 82, 152, 0.8) 100%), url('../images/manufacturing-cta.jpg') center/cover no-repeat;
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

/* Footer Styles */
footer {
    background-color: #1a1a1a !important;
}

footer h5 {
    color: #ffffff !important;
    font-weight: 600;
}

footer a:hover {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

footer .text-primary {
    color: #ffffff !important;
}

.social-links a {
    transition: all 0.3s ease;
}

/* Banner Section Styles */
.banner-section {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-section::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"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="%23ffffff" opacity="0.1"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.banner-content {
    text-align: center;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.banner-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: #03A9F5;
    margin-bottom: 1.5rem;
}

.banner-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.banner-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 59, 97, 0.3);
}

.banner-image {
    position: relative;
    z-index: 2;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Banner Section Responsive Design */
@media (max-width: 1200px) {
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .banner-section {
        padding: 60px 0;
    }
    
    .banner-title {
        font-size: 2.2rem;
    }
    
    .banner-subtitle {
        font-size: 1.8rem;
    }
    
    .banner-content {
        text-align: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .banner-section {
        padding: 40px 0;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1.6rem;
    }
    
    .banner-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .banner-content {
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .banner-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .banner-section {
        padding: 30px 0;
    }
    
    .banner-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .banner-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .banner-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .banner-content {
        padding: 0 0.5rem;
    }
    
    .banner-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
    }
}

.social-links a:hover {
    transform: translateY(-2px);
}

.footer-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Footer Logo Styles */
.footer-logo img {
    height: 45px;
    width: auto;
    max-width: 180px;
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    opacity: 0.8;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
    display: none;
}

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

/* Form Styles */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(21, 59, 97, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 3.5rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .carousel-caption h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption {
        left: 5%;
        right: 5%;
        text-align: center;
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .whatsapp-float,
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 80px;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .navbar-brand img {
        height: 40px;
        max-width: 160px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 35px;
        max-width: 140px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .footer-logo img {
        height: 35px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .footer-logo img {
        height: 30px;
        max-width: 120px;
    }
}

/* Tablet responsiveness */
@media (max-width: 992px) {
    .carousel-caption {
        width: 85%;
        max-width: 600px;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
        min-height: 450px;
    }
    
    .carousel-caption {
        width: 90%;
        max-width: none;
        padding: 1rem;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 55vh;
        min-height: 420px;
    }
    
    .carousel-caption {
        padding: 1rem 0.5rem;
        width: 92%;
        max-width: none;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .carousel-caption h1 {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-wrap: break-word;
    }
    
    .carousel-caption .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .carousel-item {
        height: 50vh;
        min-height: 380px;
    }
    
    .carousel-caption {
        padding: 0.75rem 0.25rem;
        width: 96%;
        top: 42%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .carousel-caption h1 {
        font-size: 1.4rem;
        line-height: 1.0;
        margin-bottom: 0.4rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
        word-wrap: break-word;
    }
    
    .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-top: 0.3rem;
        display: inline-block;
        width: auto;
        min-width: 100px;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-box {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .col, .col-md-6, .col-lg-4, .col-lg-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bg-light-primary {
    background-color: rgba(21, 59, 97, 0.05);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow);
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* ===== REPRESENTATIVES HERO SECTION ===== */
.representatives-hero {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.representatives-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/mapa-brasil.jpg') center/cover no-repeat;
    opacity: 0.6;
    z-index: 1;
}

.representatives-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 60, 114, 0.8);
    z-index: 2;
}

.representatives-content {
    position: relative;
    z-index: 3;
    padding: 4rem 0;
}

.representatives-hero h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.representatives-hero p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.representatives-hero .btn {
    animation: fadeInUp 1s ease-out 0.4s both;
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.representatives-hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

/* Parallax Effect */
@media (min-width: 768px) {
    .representatives-hero {
        background-attachment: fixed;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .representatives-hero {
        min-height: 60vh;
        background-attachment: scroll;
    }
    
    .representatives-hero h2 {
        font-size: 2.5rem;
    }
    
    .representatives-content {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .representatives-hero {
        min-height: 50vh;
    }
    
    .representatives-hero h2 {
        font-size: 2rem;
    }
    
    .representatives-hero p {
        font-size: 1rem;
    }
    
    .representatives-content {
        padding: 2rem 0;
    }
    
    .representatives-hero .btn {
        padding: 0.75rem 2rem !important;
        font-size: 0.9rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.newsletter-section::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.newsletter-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.newsletter-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.2;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    background: white;
}

.newsletter-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(30, 60, 114, 0.2);
    transform: translateY(-2px);
}

.newsletter-email-input {
    flex: 1;
    border: none;
    padding: 18px 25px;
    font-size: 1rem;
    background: transparent;
    outline: none;
    color: var(--dark-color);
}

.newsletter-email-input::placeholder {
    color: #adb5bd;
    transition: opacity 0.3s ease;
}

.newsletter-email-input:focus::placeholder {
    opacity: 0.7;
}

.newsletter-submit-btn {
    background: var(--primary-color);
    border: none;
    padding: 18px 30px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-submit-btn:hover {
    background: var(--primary-light);
    color: white;
    transform: translateX(2px);
}

.newsletter-submit-btn:active {
    transform: translateX(2px) scale(0.98);
}

.newsletter-submit-btn i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.newsletter-submit-btn:hover i {
    transform: translateX(3px);
}

.newsletter-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    animation: slideInUp 0.3s ease;
}

.newsletter-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-card {
        padding: 40px 25px;
    }
    
    .newsletter-title {
        font-size: 1.8rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .newsletter-email-input {
        border-radius: 15px 15px 0 0;
        padding: 16px 20px;
    }
    
    .newsletter-submit-btn {
        border-radius: 0 0 15px 15px;
        justify-content: center;
        padding: 16px 20px;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}