/* 
 * Shalec Consultancy - Main Stylesheet
 * Brand Colors: Primary #FFC000, Secondary #FFB000-#FFCC33, Accent #000000
 * Font: Poppins
 */

/* ===========================
   CSS RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1E1E1E;
    background-color: #FFFFFF;
    line-height: 1.6;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ===========================
   NAVIGATION HEADER
   =========================== */
.site-header {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E1E1E;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #4B5563;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #FFC000;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFC000;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1E1E1E;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background: linear-gradient(135deg, #FFB000 0%, #FFCC33 100%);
    padding: 4rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.125rem;
    color: #4B5563;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: #FFC000;
    color: #1E1E1E;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid #FFC000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: #1E1E1E;
    color: #FFC000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 192, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #1E1E1E;
    color: #1E1E1E;
}

.btn-secondary:hover {
    background: #1E1E1E;
    color: #FFFFFF;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-height: 300px;
    border-radius: 12px;
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #4B5563;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   SERVICES GRID
   =========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: #FFFFFF;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    border-color: #FFC000;
    box-shadow: 0 10px 30px rgba(255, 192, 0, 0.2);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E1E1E;
    margin-bottom: 1rem;
}

.service-card p {
    color: #4B5563;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #FFFFFF;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: #FFC000;
    box-shadow: 0 5px 20px rgba(255, 192, 0, 0.15);
}

.testimonial-rating {
    color: #FFC000;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #4B5563;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: #1E1E1E;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: #4B5563;
    font-size: 0.875rem;
}

/* ===========================
   CONTACT FORM
   =========================== */
.contact-section {
    background: linear-gradient(135deg, #FFB000 0%, #FFCC33 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1E1E1E;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #4B5563;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #1E1E1E;
}

.contact-details .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-form {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #1E1E1E;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFC000;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: #1E1E1E;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
}

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

.footer-col h3 {
    color: #FFC000;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #9CA3AF;
    line-height: 1.8;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #9CA3AF;
}

.footer-contact a {
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #FFC000;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FFC000;
    color: #1E1E1E;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9CA3AF;
}

/* ===========================
   PAGE CONTENT STYLES
   =========================== */
.page-header {
    background: linear-gradient(135deg, #FFB000 0%, #FFCC33 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    color: #4B5563;
}

.content-section {
    padding: 3rem 0;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1E1E1E;
    margin-bottom: 1rem;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E1E1E;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-section ul {
    list-style: none;
    margin-bottom: 2rem;
}

.content-section ul li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: #4B5563;
    line-height: 1.8;
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFC000;
    font-weight: 700;
    font-size: 1.25rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 968px) {
    .hero-content,
    .services-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: #FFFFFF;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .nav-link {
        display: block;
        padding: 0.75rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card,
    .testimonial-card,
    .contact-form {
        padding: 1.5rem;
    }
}
