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

:root {
    --primary-color: #a9333a;
    --secondary-color: #2c2c2c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #e9ecef;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Topbar offset so content isn't hidden under fixed topbar */
body { padding-top: 36px; }

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 36px; /* below topbar */
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Top Contact Bar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: #f6f4f3;
    color: var(--text-color);
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
}

.topbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.topbar-link {
    color: var(--text-color);
    text-decoration: none;
}

.topbar-link i { color: var(--primary-color); margin-right: 6px; }

.divider { color: #bdbdbd; }

.topbar-right { display: flex; align-items: center; gap: 12px; }

.social-link { color: var(--text-color); text-decoration: none; }
.social-link:hover { color: var(--primary-color); }

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1.5rem; /* add breathing space between logo and menu */
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Logo image/link styles */
.logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 1rem; /* space after logo before menu */
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown:hover > a,
.dropdown > a:hover {
    color: var(--primary-color);
}

.dropdown:hover > a::after {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    margin-top: 10px;
    border-radius: 5px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    font-weight: 400;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.dropdown-menu a::after {
    display: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #8a282e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(169, 51, 58, 0.3);
}

/* Nav button as white variant of primary button */
.nav-menu .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    white-space: nowrap; /* prevent wrapping inside nav buttons */
    padding: 0.4rem 0.8rem; /* slightly tighter so it fits better */
    font-size: 0.85rem;
}

.nav-menu .btn-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.nav-menu .btn-primary::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: left;
    color: var(--white);
    margin-top: 70px;
    overflow: hidden;
}

.hero .hero-bg,
.hero .hero-bg-next {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 1s ease;
    z-index: 0;
    pointer-events: none;
}

.hero .hero-bg { opacity: 1; }
.hero .hero-bg-next { opacity: 0; }

.hero .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 1.75rem 2.5rem;
    background: rgba(0,0,0,0.55);
    border-radius: 4px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.6);
}

.hero-content h1 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    max-width: 60%;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    animation: fadeInUp 1.4s ease;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--text-color);
}

/* Highlight stats band under hero */
.highlight-band {
    background: #f4f1ef;
    padding: 2.5rem 0;
    border-top: 3px solid var(--primary-color);
}

.highlight-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.highlight-text h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.4rem;
}

.highlight-text h2 span {
    color: var(--primary-color);
}

.highlight-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray);
}

.highlight-cta {
    flex-shrink: 0;
}

.highlight-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.highlight-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin: 0.6rem auto 0;
    background: linear-gradient(90deg, var(--primary-color), #e26a5c);
    border-radius: 999px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    color: var(--gray);
}

/* About split layout with image */
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    list-style: none;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-bg);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.services-list li:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.services-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.services-list li:hover i {
    color: var(--white);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.stats-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #faf7f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    padding: 2.2rem 2.1rem 2.4rem;
    border-radius: 6px;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(15,23,42,0.08);
    border: 1px solid #f0e5e0;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(15,23,42,0.16);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: -45px auto 1.25rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.portfolio {
    position: relative;
}

.hp-grid .hp-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, translate 0.25s ease;
}

.hp-grid .hp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(15,23,42,0.22);
}

.service-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Clients Section */
.clients {
    padding: 5rem 0;
    background: linear-gradient(180deg, #faf5f3, #ffffff);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-logo {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-placeholder {
    background: rgba(255,255,255,0.8);
    padding: 3rem;
    text-align: center;
    border-radius: 10px;
    color: var(--gray);
}

/* Project CTA Section */
.project-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8a2a30 50%, #6d2225 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.project-cta::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>') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.project-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.project-cta-text {
    flex: 1;
    color: white;
}

.project-cta-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.project-cta-text p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.project-cta-button {
    flex-shrink: 0;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    background: var(--dark);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-cta {
        padding: 60px 0;
    }
    
    .project-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .project-cta-text h2 {
        font-size: 2rem;
    }
    
    .project-cta-text p {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .project-cta {
        padding: 40px 0;
    }
    
    .project-cta-text h2 {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Contact Modal Styles */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-modal.active {
    opacity: 1;
}

.contact-modal.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.contact-modal .modal-content {
    background: #ffffff;
    border-radius: 24px;
    width: 92%;
    max-width: 950px;
    min-height: 580px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(40px) scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

/* Left Visual Column */
.modal-visual {
    flex: 1;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(169, 51, 58, 0.95) 100%), url('uploads/slide-1.jpg') center/cover;
    padding: 48px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.modal-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.modal-brand {
    position: relative;
    z-index: 2;
}

.brand-tag {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.brand-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin: 0;
}

.modal-benefits {
    position: relative;
    z-index: 2;
    margin: 40px 0;
}

.modal-benefits h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
}

.modal-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.modal-benefits li i {
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 3px;
}

.modal-benefits li strong {
    color: #ffffff;
}

.modal-visual-footer {
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

/* Right Form Column */
.modal-form-container,
.at-modal-success-state {
    flex: 1.2;
    padding: 48px;
    position: relative;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.close-modal-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.modal-form-header {
    margin-bottom: 28px;
}

.modal-form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.modal-form-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* Form Styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group-icon {
    position: relative;
    flex: 1;
}

.form-group-icon input,
.form-group-icon select,
.form-group-icon textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.form-group-icon select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group-icon textarea {
    resize: none;
    min-height: 90px;
    padding-top: 14px;
}

.form-group-icon .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-group-icon textarea + .input-icon {
    top: 24px;
    transform: none;
}

/* Focus state */
.form-group-icon input:focus,
.form-group-icon select:focus,
.form-group-icon textarea:focus {
    border-color: #a9333a;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(169, 51, 58, 0.1);
}

.form-group-icon input:focus + .input-icon,
.form-group-icon select:focus + .input-icon,
.form-group-icon textarea:focus + .input-icon {
    color: #a9333a;
}

/* Custom Checkbox */
.modal-consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #64748b;
    user-select: none;
    margin-top: 4px;
}

.modal-consent-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 20px;
    width: 20px;
    z-index: -1;
}

.checkmark {
    width: 18px;
    height: 18px;
    background-color: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.modal-consent-checkbox:hover input ~ .checkmark {
    border-color: #a9333a;
}

.modal-consent-checkbox input:checked ~ .checkmark {
    background-color: #a9333a;
    border-color: #a9333a;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modal-consent-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Button */
.modal-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #a9333a 0%, #7e2227 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 20px -5px rgba(169, 51, 58, 0.3);
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -5px rgba(169, 51, 58, 0.4);
    background: linear-gradient(135deg, #b83d44 0%, #8c292f 100%);
}

.modal-submit-btn:active {
    transform: translateY(0);
}

.modal-submit-btn:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Error message style */
.modal-error-message {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 8px;
}

/* Success State Styles */
.at-modal-success-state {
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 0.5s ease forwards;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.success-icon-wrapper i {
    color: #16a34a;
    font-size: 32px;
}

/* Ripple ring animation */
.success-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    border: 2px solid #86efac;
    opacity: 0;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.at-modal-success-state h2 {
    font-size: 2rem;
    color: #0f172a;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.at-modal-success-state p {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.success-close-btn {
    padding: 12px 32px;
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.success-close-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Modal */
@media (max-width: 800px) {
    .contact-modal .modal-content {
        flex-direction: column;
        max-width: 500px;
        min-height: auto;
    }
    
    .modal-visual {
        display: none; /* Hide visual column on mobile */
    }
    
    .modal-form-container,
    .at-modal-success-state {
        padding: 32px 24px;
    }
    
    .close-modal-btn {
        top: 16px;
        right: 16px;
    }
    
    .modal-form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 18px;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: radial-gradient(circle at top left, #fdf3f1, var(--light-bg));
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 2.75rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.14);
    border: 1px solid rgba(169,51,58,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: radial-gradient(circle at top left, #2c2c2c, #2c2c2c);
    color: var(--white);
    padding: 4.25rem 0 2.25rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    padding: 0.75rem 4rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--light-gray);
}

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

/* Intermediate Screen Adjustments for Navbar */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    .nav-menu {
        gap: 1rem;
    }
    .nav-wrapper {
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.75rem;
    }
    .nav-menu a {
        font-size: 0.9rem;
    }
    .nav-menu .btn-primary {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
    }
    .logo img {
        height: 35px;
    }
}

@media (max-width: 880px) {
    .nav-menu {
        gap: 0.5rem;
    }
    .nav-menu a {
        font-size: 0.85rem;
    }
    .nav-menu .btn-primary {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    .logo img {
        height: 32px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .topbar {
        display: none !important;
    }

    .navbar {
        top: 0 !important;
    }

    body {
        padding-top: 0 !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-bg);
        margin-top: 0;
        display: none; /* Collapse by default on mobile, toggled by JS */
    }

    .hero-content h1 {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }
}

/* Bulk Email Dashboard Styles - Modern UX/UI */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.dashboard-container .header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.dashboard-container .header h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.dashboard-container .header p {
    color: #64748b;
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.5rem;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title i {
    color: #667eea;
}

.quick-actions {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.table-container {
    overflow-x: auto;
    padding: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.data-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-weight: 500;
}

.data-table tr:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.data-table tr:hover td {
    color: #1e293b;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-sent {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.status-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #f59e0b;
}

.status-failed {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid #f87171;
}

/* Alert styles for dashboard - Modern Design */
.alert {
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: none;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-success::before {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid #f87171;
}

.alert-error::before {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid #60a5fa;
}

.alert-info::before {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}

.alert h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.alert p {
    margin: 0;
    opacity: 0.9;
}

/* Modern Button Styles for Dashboard */
.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn::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;
}

.btn:hover::before {
    left: 100%;
}

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Modern Form Styles */
.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive adjustments - Modern Design */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }
    
    .dashboard-container .header h1 {
        font-size: 2rem;
    }
    
    .dashboard-container .header p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card {
        border-radius: 16px;
    }
    
    .card-header {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .table-container {
        padding: 1rem;
    }
    
    .data-table {
        font-size: 0.875rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 1rem 0.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .alert {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Modern Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Modern Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modern Tooltip */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Modern Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Modern Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

