/* ============================================================
   FRANKLINE IT SOLUTIONS - UNIFIED STYLESHEET
   LIGHT THEME + ORANGE ACCENT
   Works for: index, about, contact, portfolio, services, submit-testimonial
   ============================================================ */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fc;
    color: #1e2a3a;
    line-height: 1.6;
}

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

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

/* ---------- HEADER ---------- */
header {
    background: #0a1a2b;
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

.logo span { color: #f54927; }

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 15px;
}

nav a:hover,
nav a.active {
    background: #f54927;
    color: white;
}

/* ---------- HERO (Home) ---------- */
.hero {
    background: linear-gradient(135deg, #0a1a2b 0%, #1b3a5c 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero h1 span { color: #f54927; }

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* ---------- PAGE HEADER (Inner pages) ---------- */
.page-header {
    background: linear-gradient(135deg, #0a1a2b 0%, #1b3a5c 100%);
    padding: 60px 0 40px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-header h1 span { color: #f54927; }

.page-header p {
    color: #d6e0ea;
    font-size: 18px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    background: #f54927;
    color: white;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    border: 2px solid #f54927;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: #f54927;
    transform: scale(1.03);
}

.btn-small {
    color: #f54927;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-small:hover { color: #0a1a2b; }

/* ---------- SECTION TITLES ---------- */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #1e2a3a;
}

.section-title span { color: #f54927; }

.section-sub {
    text-align: center;
    color: #5a6b7c;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 18px;
}

/* ---------- SERVICES (Home + Services) ---------- */
.services,
.services-preview {
    padding: 80px 0;
    background: #ffffff;
}

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

.service-card {
    background: #f8f9fc;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid #f54927;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.service-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1e2a3a;
}

.service-card p {
    color: #3d4e62;
    font-size: 15px;
    margin-bottom: 15px;
}

/* Services detail (services page) */
.services-detail {
    padding: 60px 0;
    background: #f8f9fc;
}

.service-detail-item {
    background: white;
    border: 1px solid #dce3ed;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.service-detail-item:hover {
    border-color: #f54927;
    box-shadow: 0 4px 20px rgba(245, 73, 39, 0.08);
}

.service-detail-item h2 {
    font-size: 28px;
    color: #f54927;
    margin-bottom: 15px;
}

.service-detail-item .icon-large {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.service-detail-item p {
    color: #3d4e62;
    font-size: 16px;
    margin-bottom: 15px;
}

.service-detail-item ul {
    list-style: none;
    padding: 0;
}

.service-detail-item ul li {
    padding: 8px 0;
    color: #3d4e62;
    border-bottom: 1px solid #eaeef4;
}

.service-detail-item ul li::before {
    content: "▶ ";
    color: #f54927;
}

/* ---------- ABOUT (Home + About) ---------- */
.about {
    padding: 80px 0;
    background: #f0f4fa;
}

.about-grid,
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about h2,
.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1e2a3a;
}

.about h2 span,
.about-content h2 span { color: #f54927; }

.about p,
.about-content p {
    font-size: 17px;
    color: #3d4e62;
    margin-bottom: 15px;
}

.about ul,
.about-content ul {
    list-style: none;
    padding: 0;
}

.about ul li,
.about-content ul li {
    padding: 8px 0;
    border-bottom: 1px solid #dce3ed;
    font-size: 16px;
    color: #1e2a3a;
}

.about ul li::before,
.about-content ul li::before {
    content: "✔️ ";
    color: #f54927;
}

.about img,
.about-content img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Team section */
.team-section {
    padding: 60px 0;
    border-top: 1px solid #dce3ed;
}

.team-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1e2a3a;
}

.team-section h2 span { color: #f54927; }

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

.team-member {
    background: white;
    border: 1px solid #dce3ed;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}

.team-member:hover {
    border-color: #f54927;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(245, 73, 39, 0.08);
}

.team-member .avatar {
    font-size: 60px;
    margin-bottom: 15px;
}

.team-member h4 {
    color: #1e2a3a;
    font-size: 18px;
    margin-bottom: 5px;
}

.team-member p {
    color: #5a6b7c;
    font-size: 14px;
}

/* ---------- CONTACT (Home + Contact) ---------- */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info h2,
.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1e2a3a;
}

.contact-info h2 span { color: #f54927; }

.contact-info p {
    font-size: 17px;
    color: #1e2a3a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info .emoji { font-size: 22px; }

.contact-info .highlight {
    background: #f8f9fc;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.contact-info .highlight p { margin-bottom: 8px; }

/* ---------- FORMS ---------- */
form {
    background: #f8f9fc;
    border: 1px solid #dce3ed;
    border-radius: 12px;
    padding: 40px;
}

form label {
    display: block;
    color: #1e2a3a;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 15px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: white;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    color: #1e2a3a;
    font-size: 16px;
    font-family: inherit;
    transition: border 0.3s;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: #f54927;
    box-shadow: 0 0 0 3px rgba(245, 73, 39, 0.15);
}

form textarea {
    height: 140px;
    resize: vertical;
}

form .btn {
    width: 100%;
    cursor: pointer;
    text-align: center;
}

/* ---------- PORTFOLIO ---------- */
.portfolio-grid {
    padding: 60px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: white;
    border: 1px solid #dce3ed;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: #f54927;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f0f4fa;
}

.portfolio-item .info { padding: 20px; }

.portfolio-item .info h3 {
    font-size: 22px;
    color: #1e2a3a;
    margin-bottom: 8px;
}

.portfolio-item .info .category {
    display: inline-block;
    background: #f54927;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.portfolio-item .info p {
    color: #5a6b7c;
    font-size: 14px;
    margin-bottom: 12px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 80px 0;
    background: #f0f4fa;
    border-top: 1px solid #dce3ed;
    border-bottom: 1px solid #dce3ed;
}

.testimonials .section-title { color: #1e2a3a; }
.testimonials .section-sub   { color: #5a6b7c; }

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

.testimonial-card {
    background: white;
    border: 1px solid #dce3ed;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
}

.testimonial-card:hover {
    border-color: #f54927;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(245, 73, 39, 0.08);
}

.testimonial-card .quote {
    font-size: 40px;
    color: #f54927;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: Georgia, serif;
}

.testimonial-card .stars {
    color: #ffc107;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testimonial-card p {
    color: #3d4e62;
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-card .client {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card .client .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f4fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid #f54927;
}

.testimonial-card .client .info h4 {
    color: #1e2a3a;
    font-size: 16px;
}

.testimonial-card .client .info span {
    color: #5a6b7c;
    font-size: 13px;
}

.testimonials .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #5a6b7c;
    grid-column: 1 / -1;
}

.testimonials .empty-state .emoji {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

.testimonials .empty-state h3 {
    color: #1e2a3a;
    margin-bottom: 10px;
    font-size: 24px;
}

/* ---------- SUBMIT TESTIMONIAL PAGE ---------- */
.submission-form {
    padding: 60px 0;
    background: #f8f9fc;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border: 1px solid #dce3ed;
    border-radius: 16px;
    padding: 50px;
}

.form-wrapper .form-intro {
    text-align: center;
    margin-bottom: 35px;
}

.form-wrapper .form-intro .emoji-big {
    font-size: 60px;
    display: block;
    margin-bottom: 15px;
}

.form-wrapper .form-intro h2 {
    font-size: 28px;
    color: #1e2a3a;
    margin-bottom: 10px;
}

.form-wrapper .form-intro h2 span { color: #f54927; }

.form-wrapper .form-intro p {
    color: #5a6b7c;
    font-size: 16px;
}

.form-group { margin-bottom: 25px; }

.form-group label {
    display: block;
    color: #1e2a3a;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
}

.form-group label .required {
    color: #f54927;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: white;
    border: 2px solid #dce3ed;
    border-radius: 8px;
    color: #1e2a3a;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f54927;
    box-shadow: 0 0 0 4px rgba(245, 73, 39, 0.15);
}

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

.form-group .helper-text {
    color: #7a8b9c;
    font-size: 13px;
    margin-top: 6px;
}

/* Rating stars */
.rating-stars {
    display: flex;
    gap: 12px;
    font-size: 40px;
    cursor: pointer;
    padding: 10px 0;
}

.rating-stars .star {
    color: #d0d7e0;
    transition: all 0.3s;
    user-select: none;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    color: #ffc107;
    transform: scale(1.15);
}

.rating-label {
    color: #5a6b7c;
    font-size: 14px;
    margin-top: 5px;
}

.btn-submit {
    display: inline-block;
    background: #f54927;
    color: white;
    padding: 16px 50px;
    border-radius: 30px;
    border: 2px solid #f54927;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.btn-submit:hover {
    background: transparent;
    color: #f54927;
    transform: scale(1.02);
}

/* Success message */
.success-message {
    display: none;
    text-align: center;
    padding: 30px;
}

.success-message .checkmark {
    font-size: 80px;
    color: #4caf50;
    display: block;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 28px;
    color: #1e2a3a;
    margin-bottom: 10px;
}

.success-message p {
    color: #3d4e62;
    font-size: 16px;
}

/* ---------- STATS ---------- */
.stats {
    padding: 60px 0;
    background: #0a1a2b;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.stats-grid h3 {
    font-size: 40px;
    color: #f54927;
}

.stats-grid p {
    color: #b0c4de;
    font-size: 16px;
}

/* ---------- MAP ---------- */
.map-section {
    padding: 0 0 60px 0;
    background: white;
}

.map-section iframe {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    border: 1px solid #dce3ed;
}

/* ---------- FOOTER ---------- */
footer {
    background: #0a1a2b;
    color: #b0c4de;
    text-align: center;
    padding: 30px 0;
    font-size: 15px;
}

footer span { color: #f54927; }

/* ---------- FLOATING BUTTONS ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

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

.whatsapp-tooltip {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #1e2a3a;
    border: 1px solid #dce3ed;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    animation: pulse-tooltip 2s infinite;
}

@keyframes pulse-tooltip {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.review-float {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 997;
}

.review-float a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffc107;
    color: #0a1a2b;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.35);
    transition: all 0.3s;
}

.review-float a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(255, 193, 7, 0.5);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .hero h1 { font-size: 34px; }

    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 0;
        padding: 6px 12px;
        font-size: 14px;
    }

    .logo { font-size: 24px; }

    .about-grid,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 30px; }
    .page-header h1 { font-size: 30px; }
    .section-title { font-size: 28px; }

    .whatsapp-tooltip { display: none; }

    .service-grid,
    .portfolio-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid h3 { font-size: 30px; }

    form { padding: 25px; }
    .form-wrapper { padding: 25px; }

    .service-detail-item { padding: 25px; }

    .rating-stars { font-size: 32px; gap: 8px; }

    .review-float {
        bottom: 100px;
        left: 15px;
    }

    .review-float a {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 500px) {
    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 26px; }
}

/* ============================================================
   SOCIAL ICONS — BRAND COLORS
   Works with: .social-links > a.social-fb, .social-tiktok,
               .social-ig, .social-x, .social-google
   ============================================================ */
.social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* --- Real Brand Colors --- */

/* Facebook – #1877F2 */
.social-links a.social-fb {
    background: #1877F2;
}
.social-links a.social-fb:hover {
    background: #0d63d1;
}

/* TikTok – Black with cyan/red glow on hover */
.social-links a.social-tiktok {
    background: #000000;
}
.social-links a.social-tiktok:hover {
    background: #1a1a1a;
    color: #25F4EE;
    text-shadow: 1px 1px 0 #FE2C55, -1px -1px 0 #25F4EE;
}

/* Instagram – official gradient */
.social-links a.social-ig {
    background: radial-gradient(circle at 30% 107%,
        #fdf497 0%, #fdf497 5%,
        #fd5949 45%, #d6249f 60%,
        #285AEB 90%);
}
.social-links a.social-ig:hover {
    filter: brightness(1.15);
}

/* X (Twitter) – Black */
.social-links a.social-x {
    background: #000000;
}
.social-links a.social-x:hover {
    background: #1a1a1a;
}

/* Google – White circle with blue G */
.social-links a.social-google {
    background: #ffffff;
    color: #4285F4;
    border: 1px solid #dce3ed;
}
.social-links a.social-google:hover {
    background: #f8f9fc;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.25);
}s

