/* 
  Reach Us - Premium Web Development Company 
  Custom Stylesheet
*/

:root {
    --primary: #0066ff;
    --primary-dark: #0044cc;
    --secondary: #ff9900;
    --accent: #ffcc00;
    --dark: #0a0e17;
    --light: #f8faff;
    --text-main: #1a1a1a;
    --text-muted: #64748b;
    --white: #ffffff;
    --bg: #0a0e17;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at top right, #1e40af, #1e3a8a), linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    position: relative;
    color: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-bottom: 100px;
    }
}

/* Constellation Background Effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: 1;
}

.navbar {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.4));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05) rotate(5deg);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    line-height: 0.9;
    color: white;
}

.logo-text span {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    margin-top: 2px;
}

.menu-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-btn.active {
    background: var(--primary);
    border-color: transparent;
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
    color: white;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.submit-btn:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

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

/* Section Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    text-align: center;
    margin-top: 80px;
    z-index: 5;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
}

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

.hero-content .sub-text {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 40px;
    font-style: italic;
    opacity: 0.9;
}

.highlight {
    background: var(--accent);
    color: #000;
    padding: 4px 12px;
    font-weight: 700;
    font-style: normal;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.cta-btn {
    background: linear-gradient(45deg, #ff4d00, #ff7b00);
    color: white;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 77, 0, 0.5);
}

.hero-illustration {
    margin-top: 60px;
    width: 100%;
    max-width: 700px;
    z-index: 5;
}

.hero-illustration img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.3));
}

/* --- Services Grid --- */
.services-grid {
    padding: 80px 20px;
    background: #f8fafc;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: -60px auto 0;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .services-grid {
        margin-top: 0;
        padding: 60px 20px;
    }
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.service-card .icon-box {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #0f172a;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* --- About Section --- */
.about {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
}

.about-content h4 {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #0f172a;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.read-more {
    border: 1px solid #e2e8f0;
    padding: 18px 25px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    color: #0f172a;
}

.read-more:hover {
    background: #f8fafc;
    border-color: var(--primary);
}

/* --- Tabs Section --- */
.tabs-section {
    padding: 100px 20px;
    background: #fff;
    text-align: center;
}

.tabs-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.tabs-section .desc {
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.tabs-container {
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.05);
}

.tabs-header {
    display: flex;
    background: #f8fafc;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid #f1f5f9;
}

.tab-btn {
    padding: 25px 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    font-size: 1rem;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.tab-content {
    padding: 50px;
    text-align: left;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-pane.active {
    display: block;
}

.tech-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    transition: all 0.3s;
}

.tech-item:hover {
    border-color: var(--primary);
    background: #f0f7ff;
    transform: scale(1.02);
}

.tech-icon {
    width: 50px;
    height: 50px;
}

.tech-info h5 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.tech-info span {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
}

.whatsapp-btn-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0066ff;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
    transition: all 0.3s;
}

.whatsapp-btn-inline:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

/* --- Pricing Section --- */
.pricing {
    padding: 100px 20px;
    background: #f8fafc;
    text-align: center;
}

.pricing-card {
    background: white;
    max-width: 450px;
    margin: 60px auto;
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.02);
}

.plan-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ff4d00, #ff7b00);
    color: white;
    padding: 10px 35px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 77, 0, 0.3);
}

.pricing-img {
    width: 100%;
    margin-bottom: 40px;
}

.price-box {
    margin-top: 30px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.8rem;
    font-weight: 500;
}

.new-price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin: 10px 0;
}

.gst-text {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Floating Buttons --- */
/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 1000;
    padding: 120px 30px 30px;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.menu-header {
    display: none; /* Hide redundant header as menu-btn is above */
}

.close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.menu-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

.menu-footer {
    margin-top: auto;
    padding-top: 30px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials h4 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.testimonials h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0f172a;
}

.testimonials .desc {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

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

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s;
}

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

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.client-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.stars {
    color: #ffcc00;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: rgba(255, 255, 255, 0.02);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h4 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-text h5 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.method-text a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-img {
        order: -1;
    }
}

/* Footer */
.footer {
    background: #050505;
    padding: 80px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 350px;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 100;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

.call-float {
    position: fixed;
    bottom: 110px;
    left: 30px;
    background: #0066ff;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.4);
    z-index: 100;
    text-decoration: none;
    transition: transform 0.3s;
}

.call-float:hover {
    transform: scale(1.1) rotate(-10deg);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1e293b;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* --- Responsive --- */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .about {
        flex-direction: row;
        align-items: center;
    }
    
    .about-img, .about-content {
        flex: 1;
    }
    
    .tech-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .tech-list {
        grid-template-columns: 1fr 1fr;
    }
}
