:root {
    --primary-color: #2b5d84; /* Based on your logo */
    --secondary-color: #173753;
    --text-color: #333333;
    --bg-color: #f7f9fa;
    --white: #ffffff;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo img {
    height: 100px; 
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    background-color: var(--white);
    min-width: 280px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    flex-direction: column;
    gap: 0;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 0.8rem 1.5rem;
    display: block;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.dropdown-menu li a::after {
    display: none; /* remove hover line */
}

.dropdown-menu li a:hover, 
.dropdown-menu li a.active {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

/* Main Content Area */
main {
    flex-grow: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 3rem 2rem;
}

.page-title {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.content-placeholder {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
    color: #666;
    border: 1px dashed #ccc;
}

/* Update main padding for full width sections */
main {
    flex-grow: 1;
    width: 100%;
}

/* Base Container for centered sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(23, 55, 83, 0.8), rgba(43, 93, 132, 0.8)), url('images/hero.webp') center/cover no-repeat;
    color: var(--white);
    padding: 120px 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
}

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

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

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

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

/* Domain Search */
.domain-search {
    background-color: var(--white);
    padding: 4rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.search-box {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    max-width: 700px;
    margin: 2rem auto 0;
}

.search-box input {
    width: 100%;
    padding: 15px 25px;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 50px 0 0 50px;
    outline: none;
}

.search-box button {
    border-radius: 0 50px 50px 0;
    border: none;
    cursor: pointer;
}

/* Experience Section */
.experience {
    padding: 6rem 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience-text h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.experience-text p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.experience-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Grid */
.services-overview {
    background-color: var(--white);
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--bg-color);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* SEO Scroll Section */
.seo-scroll-section {
    padding: 3rem 0 5rem;
}

.scrolling-box {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    height: 180px; /* roughly 6-7 lines depending on font size */
    overflow-y: auto;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

.scrolling-content {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Custom Scrollbar for scrolling box */
.scrolling-box::-webkit-scrollbar {
    width: 8px;
}
.scrolling-box::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}
.scrolling-box::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 4px;
}
.scrolling-box::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color); 
}

/* Footer Update */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem 2rem;
    margin-top: auto;
}

.footer-logo {
    height: 80px; /* Larger logo for footer */
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.main-footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Domain Results Area */
.domain-results-area {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.main-result {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #eee;
}

.result-available {
    border-color: #25D366;
    background-color: #e8f9ef;
    color: #128C7E;
}

.result-taken {
    border-color: #dc3545;
    background-color: #fceced;
    color: #a71d2a;
}

.domain-name {
    font-weight: 700;
    font-size: 1.5rem;
}

.alt-results h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

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

.alt-item {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}

.alt-item.available {
    border-color: #25D366;
    background-color: #fff;
}

.alt-item.taken {
    opacity: 0.6;
}

.btn-buy {
    background-color: #25D366;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-buy:hover {
    background-color: #128C7E;
    color: #fff;
}

.status-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.status-available {
    background-color: #25D366;
    color: #fff;
}

.status-taken {
    background-color: #dc3545;
    color: #fff;
}

.loading-spinner {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        gap: 1rem;
    }
    .experience-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    .main-result {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
