/* Base Styles */
:root {
    --primary-color: #e67e22;
    --secondary-color: #b33c12;
    --accent-color: #1a6985;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

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

.btn-secondary:hover {
    opacity: 0.9;
}

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

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

/* Header & Navigation */
.header {
    background-color: #fff;
   
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
}

.logo-text {
    height: 20px;
    margin-left: 10px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    bottom: -8px;
}

.nav-container {
    display: flex;
    align-items: center;
}

.main-nav {
    margin-right: 30px;
}

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

.nav-item {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-item.has-dropdown {
    cursor: pointer;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.dropdown-icon {
    margin-left: 5px;
    width: 10px;
    height: 6px;
}

.nav-divider {
    width: 1px;
    height: 30px;
    background-color: #e0e0e0;
    margin: 0 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.language-display {
    display: flex;
    align-items: center;
}

.language-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.language-text {
    font-weight: 500;
    margin-right: 5px;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    background-color: #0B465E;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    min-height: 600px;
}

/* Orange background card */
.hero::before {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -30%;
    width: 900px;
    height: 900px;
    background-color: #E67E22;
    border-radius: 0;
    transform: rotate(-12deg) skew(-12deg);
    z-index: 1;
}

/* Blue overlay card */
.hero::after {
    content: '';
    position: absolute;
    right: -5%;
    bottom: -35%;
    width: 900px;
    height: 900px;
    background-color: #0B465E;
    transform: rotate(-12deg) skew(-12deg);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 3; /* Increased z-index to appear above both background shapes */
}

.hero-content {
    color: #fff;
    padding-top: 40px;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight-clean {
    color: #4CAF50;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 4px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.hero-cta:hover {
    background-color: #d66c1f;
    color: #fff;
}

.hero-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 2;
    border-radius: 20px;
}

.floating-stats {
    position: absolute;
    top: 20%;
    right: -30px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
    z-index: 4; /* Ensure floating elements appear above the background shapes */
}

.floating-score {
    position: absolute;
    bottom: 20%;
    left: -30px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
    z-index: 4; /* Ensure floating elements appear above the background shapes */
}

/* Bottom white shape */
.hero-shape-bottom {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px; /* Increased height for more pronounced curve */
    background-color: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 4; /* Ensure it appears above all other elements */
}

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

/* Responsive styles */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-container {
        order: -1;
    }

    .floating-stats,
    .floating-score {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
}

/* Features Grid */
.key-ways {
    padding: 80px 0;
    text-align: center;
}

.key-ways h2 {
    margin-bottom: 50px;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(230, 126, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Tools Section */
.tools {
    padding: 80px 0;
    background-color: var(--light-color);
}

.tools h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.tool-card {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tool-card:nth-child(even) {
    flex-direction: row-reverse;
}

.tool-content {
    flex: 1;
    padding: 40px;
}

.tool-image {
    flex: 1;
    padding: 20px;
    min-height: 250px;
    background-color: #f0f0f0;
}

.tool-content h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.tool-content p {
    margin-bottom: 20px;
}

/* Domains Grid */
.domains-grid {
    padding: 80px 0;
    text-align: center;
}

.domains-grid h2 {
    margin-bottom: 50px;
    font-size: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.domains-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.domains-features .feature-item {
    padding: 25px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.domains-features .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: rgba(26, 105, 133, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domains-features h3 {
    margin-bottom: 10px;
    color: var(--accent-color);
}

/* Dashboard Section */
.dashboard {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
}

.dashboard h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.dashboard p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    padding: 15px 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 15px 20px;
    max-height: 1000px;
}

/* CTA Section */
.cta, .domain-cta {
    padding: 60px 0;
    background-color: var(--accent-color);
    color: white;
    text-align: center;
}

.cta h2, .domain-cta h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Blog Styles */
.blog-header {
    background-color: var(--accent-color);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
}

.search-container {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
}

.featured-articles, .latest-posts {
    transform: translateY(-300px);}

.featured-articles h2, .latest-posts h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.article-image {
    height: 200px;
    background-color: #ddd;
}

.article-meta {
    padding: 15px 20px 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #777;
}

.article-card h3 {
    padding: 10px 20px;
    font-size: 1.2rem;
}

.article-card p {
    padding: 0 20px 15px;
    color: #666;
}

.read-more {
    display: inline-block;
    padding: 0 20px 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.latest-posts .container {
    display: flex;
    gap: 30px;
}

.posts-container {
    flex: 2;
}

.sidebar {
    flex: 1;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.post-image {
    flex: 1;
    min-height: 200px;
    background-color: #ddd;
}

.post-content {
    flex: 2;
    padding: 20px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
}

.post-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.page-numbers {
    display: flex;
    margin: 0 15px;
}

.page-numbers a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 5px;
    background-color: white;
    color: var(--dark-color);
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-numbers a.active {
    background-color: var(--primary-color);
    color: white;
}

.prev-page, .next-page {
    padding: 10px 15px;
    background-color: white;
    color: var(--dark-color);
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Newsletter */
.newsletter {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.newsletter h3 {
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 20px;
    color: #666;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.recent-news, .popular-posts {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.recent-news h3, .popular-posts h3 {
    margin-bottom: 15px;
}

.recent-news ul, .popular-posts ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-news li, .popular-posts li {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-news li:last-child, .popular-posts li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* Terms Page */
.terms-header {
    background-color: var(--accent-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.terms-content {
    padding: 0px 0;
    transform: translateY(-250px);
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

/* Footer Styles */
.footer {
    padding: 60px 0 0;
    position: relative;
}

/* Remove the background and shape styles */
.footer::before {
    display: none;
}

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

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-links {
    display: flex;
    flex-direction: column;
    
}

.footer-link {
    color: var(--dark-color);
    font-size: 14px;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover {
    color: var(--accent-color);
    opacity: 1;
}

/* Newsletter Section */
.newsletter {
    grid-column: 5;
}

.newsletter-description {
    color: var(--dark-color);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input-container {
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-button:hover {
    background-color: var(--secondary-color);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

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

.copyright {
    color: var(--dark-color);
    font-size: 14px;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.legal-link {
    color: var(--dark-color);
    font-size: 14px;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.legal-link:hover {
    color: var(--accent-color);
    opacity: 1;
}

.legal-divider {
    width: 1px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .newsletter {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

/* JavaScript-related styles */
.accordion-item.active .accordion-content {
    display: block;
}

/* Add Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');

/* Free Trial Section */
.free-trial-section {
    background-color: var(--primary-color);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    max-width: 1200px;
    margin: -100px auto 60px;
    position: relative;
    z-index: 1;
}

.free-trial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='1600' height='405' viewBox='0 0 1600 405' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1647.79 229.718C1695.18 161.415 1646.3 68 1563.16 68H33.3231C-1.09338 68 -13.5531 22.6097 16.0399 5.03877C39.2017 -8.71349 68.368 8.78088 67.1407 35.6897L55.2369 296.681C52.4421 357.956 103.49 408.079 164.704 404.163L1540.33 316.177C1571.71 314.17 1600.45 297.939 1618.38 272.106L1647.79 229.718Z' fill='%23D66C1F'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.1;
    border-radius: 16px;
    z-index: -1;
}

.free-trial-title {
    color: #fff;
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.free-trial-text {
    color: #fff;
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.get-started-btn {
    display: inline-block;
    background-color: #0B465E;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.get-started-btn:hover {
    background-color: #0d5472;
    color: #fff;
}

/* Responsive styles for free trial section */
@media (max-width: 768px) {
    .free-trial-section {
        margin: -50px 20px 40px;
        padding: 32px 20px;
    }

    .free-trial-title {
        font-size: 36px;
    }

    .free-trial-text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .free-trial-title {
        font-size: 28px;
    }
}

/* Dropdown Styles */
.nav-item.has-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

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

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }

    .nav-item.has-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 8px 0;
    }
}

/* Language Selector Dropdown */
.language-selector {
    position: relative;
}

.language-selector:hover .dropdown-menu {
    display: block;
}
