/* Basic Reset & Root Variables */
:root {
    --primary-color: #0d6efd; /* A more vibrant blue */
    --secondary-color: #0a58ca; /* Darker Blue */
    --accent-color: #ffc107; /* Yellow/Gold */
    --dark-bg: #111827; /* Dark charcoal for footer/hero */
    --text-color: #374151; /* Softer dark gray for text */
    --light-text-color: #f8f9fa;
    --bg-color: #ffffff;
    --alt-bg-color: #f8f9fa; /* Light Gray */
    --border-color: #dee2e6;
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-color);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

/* Header & Navigation */
header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

header.header-scrolled {
    background-color: var(--bg-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
}
header.header-scrolled .logo {
     color: var(--primary-color);
}
header:not(.header-scrolled) .logo {
    color: var(--light-text-color);
}
header:not(.header-scrolled) .logo span {
    color: var(--light-text-color);
    opacity: 0.8;
}

.logo span {
    color: var(--secondary-color);
    font-weight: 500;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}
header.header-scrolled .nav-links a {
    color: var(--text-color);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}
header:not(.header-scrolled) .nav-links a:hover,
header:not(.header-scrolled) .nav-links a.active {
    color: var(--accent-color);
}


.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--light-text-color);
    margin: 5px;
    transition: all 0.3s ease;
}
header.header-scrolled .burger div {
    background-color: var(--text-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.9)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?q=80&w=1932&auto=format&fit=crop') no-repeat center center/cover;
    color: var(--light-text-color);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 2em;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-logo {
    display: block;
    margin: 0 auto 30px auto;
    max-width: 180px;
    height: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
}
form .cta-button {
    border-radius: 8px;
}

/* Content Sections */
.content-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5em;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-intro {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px; /* Adjusted margin for multiple paragraphs */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section-intro:last-of-type {
    margin-bottom: 50px; /* Restore bottom margin for the last paragraph */
}

.content-section p {
    margin-bottom: 15px;
    text-align: left;
}
.content-section p.section-intro { text-align: center; }

.alt-bg {
    background-color: var(--alt-bg-color);
}

/* Features Grid, SMS Cards, and AI Grid */
.features-grid, .sms-features-container, .ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.feature-card, .sms-feature-category {
    background-color: var(--bg-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover, .sms-feature-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-icon, .sms-category-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

/* Styles for cards with icons instead of images */
.ai-feature-icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.feature-card h3, .sms-feature-category h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.feature-card p, .sms-feature-category p {
    text-align: center;
    font-size: 0.95em;
    flex-grow: 1;
}
.sms-feature-category-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.sms-feature-category ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
    flex-grow: 1;
}
.sms-feature-category ul li {
    padding-left: 35px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.5;
    font-size: 0.95em;
}
.sms-feature-category ul li i {
    position: absolute;
    left: 0px;
    top: 5px;
    color: var(--primary-color);
    font-size: 1.2em;
    width: 25px;
    text-align: center;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    text-align: left;
}

.benefit-card {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.benefit-card i {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 5px;
}

.benefit-text h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--dark-bg);
    margin: 0 0 8px 0;
}

.benefit-text p {
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
    color: var(--text-color);
}


/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 30px auto;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13,110,253,0.25);
}

.contact-form button {
    align-self: center;
}

.contact-info {
    margin-top: 30px;
    font-size: 1em;
}
.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text-color);
    text-align: center;
    padding: 60px 20px;
}
footer .logo {
    color: var(--light-text-color);
    margin-bottom: 20px;
}
footer p { margin-bottom: 10px; opacity: 0.8; }
.social-links {
    margin-top: 25px;
}
.social-links a {
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 1.2rem;
    margin: 0 12px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn .arrow {
    font-size: 0.7em;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-color);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
    top: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.dropdown-content a {
    color: var(--text-color);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: 400;
}
.dropdown-content a:hover {
    background-color: var(--alt-bg-color);
    color: var(--primary-color);
}
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.dropdown:hover .dropbtn .arrow {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .benefits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    
    header { background-color: var(--bg-color); }
    header.header-scrolled { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
    .logo, header:not(.header-scrolled) .logo { color: var(--primary-color); }
    header:not(.header-scrolled) .logo span { color: var(--secondary-color); }
    .nav-links a, header.header-scrolled .nav-links a { color: var(--text-color); }
    .burger div, header.header-scrolled .burger div { background-color: var(--text-color); }

    .nav-links {
        position: absolute;
        right: 0;
        top: var(--header-height);
        background-color: var(--bg-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        height: calc(100vh - var(--header-height));
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0px 5px rgba(0,0,0,0.1);
    }
    .nav-links li { margin: 0; width: 100%; text-align: center; }
    .nav-links li a { display: block; padding: 20px; width: 100%;}
    .nav-links.nav-active { transform: translateX(0%); }
    .burger { display: block; }
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
    
    @keyframes navLinkFade {
        from { opacity: 0; transform: translateX(50px); }
        to { opacity: 1; transform: translateX(0px); }
    }
    .nav-links li { opacity: 0; }
    
    /* Mobile Dropdown */
    .dropdown:hover .dropdown-content { display: none; }
    .dropdown .dropbtn { display: flex; justify-content: space-between; align-items: center; }
    .dropdown-content { position: static; box-shadow: none; border-top: none; padding-left: 20px; background-color: #fdfdfd; }
    .dropdown.active-mobile-dropdown .dropdown-content { display: block; }

    .hero-section { height: auto; min-height: 100vh; padding-top: 100px; padding-bottom: 60px; }
    .hero-content h1 { font-size: 2.2em; }
    .hero-content p { font-size: 1.1em; }

    .content-section h2 { font-size: 2em; }
    .features-grid, .sms-features-container, .ai-features-grid { grid-template-columns: 1fr; }
    .contact-form button { align-self: stretch; }
}
.highlight-black {
    color: #111827; /* Using the --dark-bg color for consistency */
    font-weight: 600; /* Making it bold to match other keywords */
}