/* ============================================
   CODECHINE - SHARED STYLESHEET
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --dark: #0f172a;
    --light: #f1f5f9;
    --white: #ffffff;
    --gray: #64748b;
    --text: #334155;
    
    --transition: 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.spinner-container.hide {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: var(--white);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    margin-top: 20px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
}

.dropdown-menu a:hover {
    background: var(--light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920') center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================
   HERO SECTION (HOME ONLY)
   ============================================ */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920') center/cover;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: #1e293b;
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background: var(--light);
}

.section-header {
    margin-bottom: 50px;
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
}

/* ============================================
   FACTS SECTION
   ============================================ */
.facts {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.fact-card {
    display: flex;
    align-items: center;
    padding: 40px;
    height: 150px;
}

.fact-card.blue {
    background: var(--primary);
    color: var(--white);
}

.fact-card.white {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow);
}

.fact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.fact-card.white .fact-icon {
    background: var(--primary);
}

.fact-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.fact-card.white .fact-icon svg {
    stroke: var(--white);
}

.fact-content h5 {
    font-size: 16px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.fact-content h2 {
    font-size: 36px;
    font-weight: 800;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray);
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.check {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.check svg {
    width: 14px;
    height: 14px;
    stroke: var(--white);
}

.contact-callout {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.callout-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callout-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.contact-callout h4 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark);
}

.team-info p {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.ceo-section {
    background: var(--white);
    padding: 60px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
}

.ceo-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary);
}

.ceo-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

.ceo-message .role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.ceo-message p {
    color: var(--gray);
    line-height: 1.8;
    font-style: italic;
    font-size: 18px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: rotateY(360deg);
}

.service-card:hover .service-icon svg {
    stroke: var(--white);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
}

.cta-box {
    background: var(--primary);
    color: var(--white);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
}

.cta-box h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.cta-box h2 {
    font-size: 36px;
    margin-top: 10px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px;
}

.feature-icon-box {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-icon-box svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
}

.feature-box:hover .feature-icon-box {
    transform: rotateY(360deg);
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-box p {
    color: var(--gray);
    font-size: 15px;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.9);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 22px;
    margin-bottom: 5px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quote-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.quote-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--white);
}

.testimonial-card p {
    font-size: 20px;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--primary);
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-controls button svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.4;
}

.blog-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
    background: var(--white);
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quote-features {
    margin: 30px 0;
}

.quote-features div {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote-features svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.quote-form-container {
    background: var(--primary);
    padding: 40px;
    border-radius: 10px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

.quote-form button {
    width: 100%;
    padding: 15px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.quote-form button:hover {
    background: #1e293b;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.contact-item h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-item p {
    color: var(--gray);
    line-height: 1.8;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

.contact-phones p {
    margin-bottom: 5px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.8;
}

.newsletter {
    display: flex;
    gap: 10px;
}

.newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.newsletter input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter button {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter button:hover {
    background: var(--primary-dark);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links a svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    opacity: 0.8;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: var(--transition);
    z-index: 10000;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toast button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid,
    .blog-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ceo-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ceo-image {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 20px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light);
        margin-top: 10px;
    }
    
    .hero {
        margin-top: 0;
        padding-top: 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .facts-grid,
    .about-grid,
    .quote-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .services-grid,
    .features-grid,
    .portfolio-grid,
    .blog-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map iframe {
        min-height: 300px;
    }
}

/* ============================================
   MOBILE FIXES - ADD AT END OF CSS
   ============================================ */

/* Hide topbar on mobile */
@media (max-width: 768px) {
    .topbar {
        display: none;
    }
    
    /* Adjust navbar since topbar is hidden */
    .navbar {
        position: sticky;
        top: 0;
    }
    
    /* Hero margin fix */
    .hero {
        margin-top: 0;
        padding-top: 0;
    }
    
    /* Mobile dropdown fixes */
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        background: var(--light);
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        padding: 0;
    }
    
    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
        padding: 10px 0;
    }
    
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    /* Nav menu mobile adjustments */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 18px;
        padding: 15px 0;
        border-bottom: 1px solid var(--light);
    }
    
    .dropdown-menu a {
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .fact-card {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 30px 20px;
    }
    
    .fact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Logo Image Styles */
.logo-img {
    height: 200px;
    width: auto;
    display: block;
}

/* Alternative: if you have separate white logo */
.footer-logo .logo-img {
    height: 150px;
}

/* Social links hover effects */
.social-links a[aria-label="GitHub"]:hover {
    background: #333;
    border-color: #333;
}

.social-links a[aria-label="TikTok"]:hover {
    background: #000;
    border-color: #000;
}

.footer-social a[aria-label="GitHub"]:hover {
    background: #333;
}

.footer-social a[aria-label="TikTok"]:hover {
    background: #000;
}

/* ============================================
   NAVBAR - FIXED STYLES
   ============================================ */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Increased height */
    padding: 0 20px;
}

/* Logo Styles - FIXED */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo-img {
    height: 100px; /* Bigger logo */
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

/* Navigation Menu - FIXED */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px; /* More spacing between items */
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    margin-top: 15px;
    list-style: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    font-size: 15px;
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary);
}

/* Mobile Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   MOBILE RESPONSIVE - NAVBAR
   ============================================ */

@media (max-width: 1024px) {
    .navbar .container {
        height: 80px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .nav-menu a {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        height: 70px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        gap: 0;
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--light);
    }
    
    .nav-menu a {
        display: block;
        padding: 18px 0;
        font-size: 18px;
        width: 100%;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light);
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease, padding 0.3s ease;
        min-width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 10px 0;
    }
    
    .dropdown-menu a {
        padding-left: 20px;
        font-size: 16px;
    }
}

/* ============================================
   NAVBAR - FORCE HORIZONTAL LAYOUT
   ============================================ */

/* ============================================
   NAVBAR - COMPLETE FIXED VERSION
   ============================================ */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar .container {
    display: flex;
    flex-direction: row; /* Horizontal */
    flex-wrap: nowrap; /* No wrapping */
    justify-content: space-between;
    align-items: center;
    height: 100px;
    max-width: 1400px; /* Wider container */
    margin: 0 auto;
    padding: 0 30px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 75px; /* Big logo */
    width: auto;
    max-width: 280px;
}

/* Navigation */
.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    text-decoration: none;
    padding: 10px 0;
    transition: var(--transition);
    white-space: nowrap;
}

/* Mobile button hidden on desktop */
.nav-toggle {
    display: none;
}

/* ============================================
   MOBILE - Only stack on small screens
   ============================================ */
@media (max-width: 1024px) {
    .navbar .container {
        height: 80px;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .nav-menu {
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        display: none; /* Hide on mobile, use hamburger */
    }
    
    .nav-toggle {
        display: flex;
    }
}

/* ============================================
   NAVBAR - CLEAN FIXED VERSION
   ============================================ */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar .container {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    height: 100px !important;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
}

/* Navigation Menu */
.nav-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    list-style: none;
}

.nav-menu a {
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
    text-decoration: none;
    padding: 8px 0;
    transition: var(--transition);
    white-space: nowrap;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    margin-top: 10px;
    list-style: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 20px;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--light);
}

/* Mobile Toggle - hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .navbar .container {
        height: 80px;
        padding: 0 20px;
    }
    
    .logo-img {
        height: 55px !important;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .navbar .container {
        height: 70px;
    }
    
    .logo-img {
        height: 50px !important;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column !important;
        align-items: flex-start;
        padding: 30px;
        gap: 0;
        transition: 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--light);
    }
    
    .nav-menu a {
        padding: 15px 0;
        font-size: 16px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light);
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 200px;
        padding: 10px 0;
    }
}

/* ============================================
   LOGO SIZE - 100px EVERYWHERE
   ============================================ */

/* Header Logo - Desktop & Mobile: 100px */
.logo-img {
    height: 100px !important;
    width: auto;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

/* Footer Logo: 100px */
.footer-logo .logo-img,
.footer-about .logo-img {
    height: 100px !important;
    width: auto;
    max-width: none !important;
}

/* Adjust navbar height to fit larger logo */
.navbar .container {
    height: 120px !important; /* Increased from 90px to fit 100px logo */
}

/* Mobile navbar height */
@media (max-width: 900px) {
    .navbar .container {
        height: 110px !important;
    }
    
    .logo-img {
        height: 100px !important; /* Keep 100px on mobile too */
    }
}

@media (max-width: 480px) {
    .navbar .container {
        height: 105px !important;
    }
    
    .logo-img {
        height: 100px !important; /* Still 100px on small mobile */
    }
    
    .footer-logo .logo-img,
    .footer-about .logo-img {
        height: 100px !important;
    }
}

/* ============================================
   TESTIMONIALS - COMPLETE FIXED STYLES
   ============================================ */

/* Grid Layout - Desktop: 2 columns with max-width */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Testimonial Card - Proper styling */
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Quote Icon */
.quote-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.quote-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

/* Testimonial Text */
.testimonial-card p {
    font-size: 17px;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Author Info */
.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

/* ============================================
   TABLET RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .testimonials-grid {
        gap: 25px;
        max-width: 900px;
    }
    
    .testimonial-card {
        padding: 35px 30px;
    }
    
    .testimonial-card p {
        font-size: 16px;
    }
}

/* ============================================
   MOBILE RESPONSIVE - Single Column
   ============================================ */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
    }
    
    .testimonial-card {
        padding: 35px 30px;
    }
    
    .testimonial-card p {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .quote-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 20px;
    }
    
    .quote-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .testimonial-author strong {
        font-size: 17px;
    }
}

/* ============================================
   SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .testimonials-grid {
        gap: 20px;
        padding: 0 10px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .testimonial-card p {
        font-size: 15px;
    }
    
    .quote-icon {
        width: 50px;
        height: 50px;
    }
    
    .quote-icon svg {
        width: 24px;
        height: 24px;
    }
}