@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    letter-spacing: 0.01em;
}

h2 {
    font-size: 2rem;
}

header {
    display: block;
}

.overlay-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.overlay-share-row {
    max-width: 1200px;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    z-index: 999;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.overlay-share-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.overlay-share-link i {
    font-size: 0.9rem;
    line-height: 1;
}

.overlay-share-link:hover {
    background: none;
    color: #ffb3ab;
    transform: translateY(-2px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

.brand-name {
    color: #e74c3c;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.nav-logo:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

main {
    margin-top: 0;
}

main > section {
    padding: 1rem 2rem;
}

.hero {
    background-image: url('../img/seo-webdesigns2.webp');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 1rem 2rem;
    text-align: left;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.home{
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    max-width: 600px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.red-button {
    background-color: #e74c3c;
    color: white;
}

.red-button:hover {
    background-color: #c0392b;
}

.black-button {
    background-color: #2c3e50;
    color: white;
}

.black-button:hover {
    background-color: #1a252f;
}

.button-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.quote-button {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    background-color: #e74c3c;
}

.quote-button:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
}

#services {
    padding: 1rem 2rem;
    background-color: white;
}

#services h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service h3 {
    margin-bottom: 1rem;
    color: #e74c3c;
}

#contact {
    padding: 4rem 2rem;
    background-color: #34495e;
    color: white;
    text-align: center;
}

#contact h2 {
    margin-bottom: 1rem;
}

.contact-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #c0392b;
}

/* Footer Styles */
.main-footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 0 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem 2rem 2rem;
}

.footer-section h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: #ecf0f1;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 0.5rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: #e74c3c;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.contact-info a {
    color: #ecf0f1;
    text-decoration: none;
}

.contact-info a:hover {
    color: #e74c3c;
}

.newsletter h5 {
    color: #ecf0f1;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: #bdc3c7;
}

.newsletter-input:focus {
    outline: none;
    border-color: #e74c3c;
    background-color: rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
    padding: 0.5rem 1rem;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #c0392b;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 1.5rem 0;
    background-color: #1a252f;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #e74c3c;
}

/* Portfolio Section Styles */
.portfolio-section {
    padding: 1rem 2rem;
    background-color: #f8f9fa;
}

.portfolio-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2rem;
}

.portfolio-container {
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.portfolio-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.portfolio-question:hover {
    background-color: #f8f9fa;
}

.portfolio-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    transition: transform 0.3s ease;
}

.portfolio-item.active .portfolio-toggle {
    transform: rotate(45deg);
}

.portfolio-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f9fa;
}

.portfolio-answer p {
    padding: 0 2rem 1.5rem 2rem;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.portfolio-item.active .portfolio-answer {
    max-height: 200px;
}

/* Why Choose Section Styles */
.why-choose-section {
    padding: 1rem 2rem;
    background-color: #ffffff;
}

.service-descriptions-section {
    padding: 1rem 2rem;
    background-color: #ffffff;
}

.why-choose-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.service-section-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.services-description-heading {
    margin-top: 1.25rem;
    margin-bottom: 0.9rem;
}

.service-description-intro {
    max-width: 760px;
    margin: 0 auto 2rem auto;
    color: #555;
    line-height: 1.75;
}

.why-choose-intro {
    max-width: 760px;
    margin: 0 auto 2rem auto;
    color: #555;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.why-choose-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.why-choose-item h3 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.why-choose-item p {
    color: #555;
    margin: 0;
}

.seo-description-box {
    background-color: #f8f9fa;
    border: 1px solid #e4e8ed;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 0 auto 2rem auto;
    text-align: left;
    max-width: 900px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.web-description-box {
    background-color: #f8f9fa;
    border: 1px solid #e4e8ed;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 0 auto 2rem auto;
    text-align: left;
    max-width: 900px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.digital-marketing-description-box {
    background-color: #f8f9fa;
    border: 1px solid #e4e8ed;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 0 auto 2rem auto;
    text-align: left;
    max-width: 900px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.seo-description-box h3 {
    color: #2c3e50;
    margin-bottom: 0.9rem;
}

.web-description-box h3 {
    color: #2c3e50;
    margin-bottom: 0.9rem;
}

.digital-marketing-description-box h3 {
    color: #2c3e50;
    margin-bottom: 0.9rem;
}

.seo-description-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #444;
}

.web-description-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #444;
}

.digital-marketing-description-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #444;
}

.seo-description-list li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.web-description-list li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.digital-marketing-description-list li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

#service-qa {
    background-color: #f8f9fa;
}

.qa-section {
    max-width: 1100px;
    margin: 2rem auto 0 auto;
}

.qa-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.qa-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.qa-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.qa-question:hover {
    background-color: #f8f9fa;
}

.qa-toggle {
    font-size: 1.4rem;
    font-weight: bold;
    color: #e74c3c;
    transition: transform 0.3s ease;
}

.qa-item.active .qa-toggle {
    transform: rotate(45deg);
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f9fa;
}

.qa-answer p {
    padding: 0 1.5rem 1.1rem 1.5rem;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.qa-item.active .qa-answer {
    max-height: 220px;
}

.website-preview-section {
    max-width: 1100px;
    margin: 2rem auto 0 auto;
}

.website-preview-section h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0.5rem;
}

.website-preview-intro {
    text-align: center;
    color: #555;
    margin-bottom: 1.2rem;
}

.website-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.website-preview-card {
    background-color: #fff;
    border: 1px solid #e4e8ed;
    border-radius: 10px;
    padding: 0.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.website-preview-thumb {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    background-color: #e4e8ed;
    transition: box-shadow 0.25s ease;
}

.website-preview-thumb iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 1200px;
    height: 800px;
    transform: scale(0.22);
    transform-origin: top left;
    border: none;
    pointer-events: none;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 8px;
}

.website-preview-thumb:hover {
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.2);
}

.preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dde3e9 0%, #c8d0d8 100%);
}

.preview-coming-soon {
    color: #8a9aaa;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.website-preview-card h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.website-preview-card p {
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.social-share-section {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f5 100%);
}

.social-share-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.social-share-section h2 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.social-share-section p {
    max-width: 720px;
    margin: 0 auto 1.75rem auto;
    color: #555;
}

.social-share-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.social-share-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: white;
    background-color: #a32017;
    border: 2px solid #7f1812;
    box-shadow: 0 8px 18px rgba(163, 32, 23, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.social-share-icon:hover {
    background-color: #7f1812;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(127, 24, 18, 0.34);
}

.social-share-icon i {
    font-size: 1.35rem;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero {
        padding: 1rem 2rem;
        text-align: center;
        justify-content: center;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .overlay-share-row {
        top: 78px;
        padding: 0 1rem;
        gap: 0.4rem;
    }

    .overlay-share-link {
        width: 30px;
        height: 30px;
    }

    .overlay-share-link i {
        font-size: 0.8rem;
    }

    .nav-logo {
        height: 40px;
        max-width: 150px;
    }

    .menu-toggle {
        display: flex;
    }

    #nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    #nav-menu.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
    }

    .quote-button {
        display: none;
    }

    .portfolio-section {
        padding: 1rem 2rem;
    }

    .portfolio-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .portfolio-question {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .portfolio-answer p {
        padding: 0 1.5rem 1rem 1.5rem;
    }

    .why-choose-section {
        padding: 1rem 2rem;
    }

    .service-descriptions-section {
        padding: 1rem 2rem;
    }

    .why-choose-section h2 {
        font-size: 2rem;
    }

    .seo-description-box {
        padding: 1rem;
    }

    .web-description-box {
        padding: 1rem;
    }

    .digital-marketing-description-box {
        padding: 1rem;
    }

    .social-share-section {
        padding: 1rem 2rem;
    }

    .website-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-share-icon {
        width: 52px;
        height: 52px;
        font-size: 0.9rem;
    }

    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 1rem 2rem 1rem;
    }

    .footer-section {
        text-align: center;
        margin-bottom: 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        margin-bottom: 0.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .qa-grid {
        grid-template-columns: 1fr;
    }

    .website-preview-grid {
        grid-template-columns: 1fr;
    }
}
